Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi All,
I have a service which updates a description of a mashup, the code is as below.
var params = {description: 'This is a test Mashup' /* STRING */};
Mashups["testMashup"].SetDescription(params);
It updates the description but is not seen in "Description" column of spotlight search result grid.
See the "Description" column
But when I edit the mashup, I can see the description.
And when I edit and save the mashup, the updated description is seen on the description column of spotlight search result grid.
Could anyone help on this? Can we see the updated description in spotlight search result description column without performing the edit and save operation? Thanks in advance.
Solved! Go to Solution.
Hello @dgurumukhi!
I would like to send you an update on this:
My colleague Sushant posted defect TW-55813 for this issue. We are targetting to fix this in our next release ThingWorx 8.5.
I hope that helps!
Vanessa
@dgurumukhi you are right, could reproduce it on ThingWorx 8.2, which version are you working with? I'll report this with R&D and will share with you the details.
Hello @dgurumukhi!
I would like to send you an update on this:
My colleague Sushant posted defect TW-55813 for this issue. We are targetting to fix this in our next release ThingWorx 8.5.
I hope that helps!
Vanessa
The problem is that the information in the Composer is cached so when you run the service it doesn't know to update the composer content.
I'm not sure how you can force that without doing a browser refresh or entity switch in the explorer.
@PaiChung I did try both F5 and Ctrl + F5 it has no effect for me at least. As a matter of fact if this description is set for the Mashup and as a work around I edit the mashup without switching to Info tab in the Mashup from Design it will still not reflect the add/update done to the Mashup's description.
However, the moment i edit the mashup (without actually making any change) switch to Info tab from Design and save it back and then go to Composer, I immediately see mashup getting refreshed without any manual F5. I suspect there may be difference in the service called in these two different scenarios or at least the trigger to the right service. Just guessing may be i am wrong here. But for me just doing browser refresh is not working.