Call a UI Macro via a UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2015 08:30 AM
Hello,
We are running into an issue after upgrading our instance to Fuji. It seems custom attributes on fields are not available until after the record is saved. We had a custom attribute to fire a UI macro setup on our caller field. The macro would assist the tech responding to the call in populating the callers configuration item by displaying only the CI's assigned to the caller.
As a work around I would like to fire the UI macro from a UI action. Has anyone done something like that before?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2015 08:34 AM
How are you calling the ui macro in your ui action, could you post the code? If it's by using DOM manipulation you may have to redo it as all the forms have been rewritten in Fuji.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2015 09:06 AM
Right now we have the UI macro setup as an attribute on the caller field. That stopped working after the Fuji upgrade however until the record is saved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2015 11:59 AM
We just pulled the function out of the UI macro and ran that directly on the UI action and it seems to be working.