- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â10-19-2022 05:50 AM
Hello All. I am currently having an issue with a filter in a datatable portal widget.
I have a simple script includes that returns the value 'xxxxxxxxxxxx'
getFilterValue: function(){
return 'xxxxxxxxxxxx';
}
I call the script includes from the filter using pid=:javascript new scriptincludename().getFilterValue();
In every case I try, I get a NULL value.
Any thoughts? Can I no use a script include in this way?
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â10-20-2022 06:44 AM
That's very helpful! For a script include being a single function, cut the javascript part in the filter down to just javascript:lpb_script_library() so it isn't trying to look for a sub-function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â10-20-2022 06:44 AM
That's very helpful! For a script include being a single function, cut the javascript part in the filter down to just javascript:lpb_script_library() so it isn't trying to look for a sub-function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â10-20-2022 08:29 AM
@Claude DAmico - thank you very much for the response......and the answer! So, I tried the above and still had issues. But reread one of your previous posts and switched to the api name and it worked!
javascript:x_325383_aparent_0.lpb_script_library().
Again, thank you