Hello,
is there a way to query (RetrieveMultiple ect...) the CRM via Javascritp from a page of the Portal?
Thanks in advance.
Best regards.
*This post is locked for comments
Hello,
is there a way to query (RetrieveMultiple ect...) the CRM via Javascritp from a page of the Portal?
Thanks in advance.
Best regards.
*This post is locked for comments
unable to access both the link from any browser. Please share valid links
Hi Luca,
To use JS on portal, check this article.......
crmhub.blogspot.in/.../how-to-use-java-script-in-adx-studio.html
To retrieve the data, we can use OData query......check this article on this.......
crmhub.blogspot.in/.../retrieve-data-using-odata-query-in-d365-Portal-ADX-Studio-Portal.html
Luca,
Try to get in touch with author of blog post to ask for a help. I have seen the article but have never used it before.
Hello Andrii,
I tried to insert the fetch inside the page but I'm always getting this error:
Liquid error: Data at the root level is invalid
The fetch is correct.
Luca,
Check this article - uds.systems/.../how-to-run-custom-code-in-dynamics-365-portal
Hello Scott,
am I able, with fetchxml, to query every entity (eg custom entities). In the link it's said that I need appropriate entity permissions. Is the Read permission on the Portal enough?
Best regards.
Just to add to Scott's liquid template suggestion. You can create a Web Page based on the template and then call that page via Ajax (if it really has to be something that is dynamic) and process the results in Ajax.
Alok's link is for native CRM forms - not the portal.
You can query CRM using Microsoft portals' own WebAPI endpoint - see community.adxstudio.com/.../entity-list-odata-feeds
Your other option is to query fetchxml using the liquid template server side - community.adxstudio.com/.../68465eea-2806-e611-9407-000d3a10c65c
Hope this helps
Yes ..You can execute RetrieveMultiple etc using javascript .There is nice and easy way to achieve this using WebAPI .Other nice resource is https://community.dynamics.com/crm/b/mscrmcustomization/archive/2016/10/18/ms-crm-2016-web-api-operations-retrieve-single-or-multiple-records .
Hi,
Please add on skype :- mahesh.variance
We will discuss in detail if possible from your side.
Thanks
Mahesh
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156