Powered By Blogger

Wednesday, October 5, 2022

How to Enable Entity to use in the Portal Web API?

You have to first enable your entity to be used in the Portal Web API. For that You need to go to the Portal Management App > Website > Site Settings.

Create Record for New Site Settings. For Web API, You need to create three types of Records i.e. Entity, fields, and error. Please check below:

1. Enable Entity:

Name: Webapi/entity_logicalname/enabled

Value: true

Website: Choose your Website


2) Enable fields (You can select specific fields or type * for all the fields in Value):

Name: Webapi/entity_logicalname/fields

Value: *

Website: Choose your Website


3) Error:

Name: Webapi/error/innererror

Value: true

Website: Choose your Website


Legends:

Text Highlighted in Yellow: You have to write your entity's logical name, the rest will remain as it is.

Text Highlighted in Orange: You have to select your website name.

No comments:

Post a Comment

Tools for Unit Testing in Power Platform