Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using the Engine to update Master Measures via API. I am able to use the "ApplyPatches" method to successfully change the property of a master measure. For example, I have a master measure with the title "Loaded Measure". Using the following API call I can change that measure title to "New Title"
Here is a call to GetProperties method for that measure. It shows that the title has been successfully changed to "New Title".
However, when I go back to the app to see my update, I notice something strange. In the Master Measures panel the measure has its old title, "Loaded Measure". When I click on that measure and edit I see the new title, "New Title". I can click save and the title will be changed in the panel and anywhere else it is being displayed in the app. But the problem is that I am changing a whole bunch of master measures through the API. I don't want to have to go back through each one and click "save" to make them reflect API changes. There must be a way to make this happen through the API. In essence, in the following screenshot I would want to see "New Title" in all places as soon as ran the API functions.
And if you do a refresh? Doesn't everything get updated then?
Erik Wetterberg
And if you do a refresh? Doesn't everything get updated then?
Erik Wetterberg
Yeah, you're right. I just needed to clear the cache too. Thanks
Here is noted, that ApplyPatches only affects current session.
I'm not sure if it is correct, but I also can see changes I made by ApplyPatches only inside current session.
But SetProperties method worked for me fine.