How to run UI Script from Catalog Client Script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2017 07:55 AM
Sorry for such a basic question, but I'm not seeing it. It must be the time of day.
I created a UI Script, which is not global as I'm working in the HR scope. It has a custom made function sn_hr_core.gdf_hr_check_input, which returns another function.
So I thought I should call it by typing sn_hr_core.gdf_hr_check_input.checkRecordProducer(input) in the Catalog Client Script and that it would be loaded correctly. It seems I was wrong. Should I add some inclusion code maybe?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2017 07:29 AM
How I see it, that's totally not worth the time. That's why we decided to go for the quick and easy solution and that's to do an ajax call instead. From performance point of view there is hardly a difference. But from development point of view, it would take so much longer to do all that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2017 07:52 AM
I know ,
I am completely agree with you, but I would not like, rule out the idea of standardizing that development to use it dynamically on many items as service portal part.