I have a custom entity and have given permission through portal manager. Now I want to retrieve record from that custom entity using web api like following:
Solved! Go to Solution.
Hi
currently the Web API only supports Create/Update/Delete methods, please see more info from the documentation: Use the Web API for portals - Power Apps | Microsoft Docs
the reason for that is because we have other methods for retrieving data:
what you can also do is creating your own retrieve API using custom Web Templates + FetchXML, take a look at this post that might help you:
Creating a Custom Portal API to Retrieve Data | PowerObjects
Power Apps Portals Super User
Hi
currently the Web API only supports Create/Update/Delete methods, please see more info from the documentation: Use the Web API for portals - Power Apps | Microsoft Docs
the reason for that is because we have other methods for retrieving data:
what you can also do is creating your own retrieve API using custom Web Templates + FetchXML, take a look at this post that might help you:
Creating a Custom Portal API to Retrieve Data | PowerObjects
Power Apps Portals Super User
@OliverRodrigues Thank you very much for your quick response.
I have tried the web api because I need to retrieve custom entity's record from my angular 9 app that I linked into my portal app. In this scenarios how can I get records from angular app?
Hi, is your angular app inside Power Apps Portals? not sure how you are linking your app, can you give more details?
if your app still has access to Portal objects/pages or web templates, I would recommend using the Entities liquid object mentioned earlier.
Power Apps Portals Super User
User | Count |
---|---|
9 | |
8 | |
6 | |
4 | |
2 |
User | Count |
---|---|
28 | |
26 | |
26 | |
22 | |
6 |