Skip to content

Commit 2bf6aae

Browse files
authored
Update custom-api.md with a known issue
Adding a known issue in CustomAPI. According to this issue, users cannot set secure and unsecure configuration data in plugins registered for the custom api as stage 30 main operation step.
1 parent af03594 commit 2bf6aae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

powerapps-docs/developer/data-platform/custom-api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,12 @@ To debug using the Plug-in Registration tool and the Plug-in profiler solution,
477477

478478
If you define your custom API to be private, you can't use that message in a plug-in. More information: [Private Messages](org-service/use-messages.md#private-messages)
479479

480+
### Secure Configuration and Unsecure Configuration cannot be sent in CustomAPI Main Operation plug-in
481+
482+
You cannot pass [Secure and Unsecure Configuration](write-plug-in.md#pass-configuration-data-to-your-plug-in) in to your Stage 30 Main operation Plugin for the CustomAPI.
483+
484+
**Workaround**: Do not register the plugin, where you want send the secure and unsecure configuration, during CustomAPI creation through UI. Register the plugin as a `PreOperation` or `PostOperation` plugin through PRT and you should be able to set the configuration values as any other plug-in. More information: [Register Plug-in and set configuration data](register-plug-in.md#set-configuration-data)
485+
480486
### Next Steps
481487

482488
[Create a custom API using the plug-in registration tool](create-custom-api-prt.md)

0 commit comments

Comments
 (0)