Notifications
Announcements
No record found.
Hi All,
I want to get all business closures in Portal JavaScript, Can any one please help to achieve this?
Thanks & Regards,
Nandhini M
*This post is locked for comments
Hi Nandhini,
Craft a FetchXML query that gets the Business Closure information you're looking for. Then, use the fetchxml tag in Liquid to get the results of the query, and using a loop output the results to a JSON object that you can then refer to in JavaScript.
Make sure you have the proper Entity Permissions setup on the Business Closure entity, otherwise the fetchxml will return nothing.
Nick
Thanks Nick. Yeah, I missed to add entity permission. Now it is working fine.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2