why does my 'try it' button disappear?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 08:46 AM
When using Studio in my Developer Instance to build components, I see the 'Try It' button when I 'Update' a record, but it disappears almost immediately when the page finishes refreshing. This happens when editing a Catalog Item or a UI Page maybe others and I just haven't noticed . If I'm quick, I can hit the button before it disappears and it works like I would expect and it's helpful. But I can't figure out why it's disappearing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 08:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 10:25 AM
I went to the UI Action and for 'Try It' the condition field was blank, so I added a statement that would evaluate to true but (true) and (1==1), that did not help. This script was there:
// save any updates
if (current.changes())
current.update();
// redirect to us
gs.setRedirect("ui_page.do?sys_id=" + current.sys_id);
So I tried commenting it all out in case that was the problem. But this didn't help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 09:40 AM
Hi,
Can you post a screen shot of the issue you are facing, it would help to debug better.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 10:28 AM
Of course. This is a capture immediately following an Update. It was tough to get, because that Try It button vanishes so quickly.
This is what it looks like after the Try It button disappears.
Here are screen shots from the UI Action, both in List View of all action and when I open the Try It action.