canvas
2 TopicsSharePoint Data Source Environment variables Choices field issue
Hi, We are trying to create a solution package for our SharePoint list based Canvas app so that we can deploy this solution from Dev to Prod environment by just updating the environment variables SharePoint Site and List data source while importing the solution. We are usingSharePoint Data Source Environment variables for this task so that there would not be any need to update the data source after the app is imported to production. Ref Link: https://matthewdevaney.com/simplify-importing-exporting-power-apps-with-datasource-environment-variables/ Everything works fine but when we are tested our app deployed in the production, we found Choices fields in the app were creating issues for us. It seems choice field is still trying to get the reference from old dev site list GUID. Any help will be appreciated to resolve this issue. ThanksError handling in Remove Function of PowerApps is not working properly
Hi Techies, We are trying to implement error handling for Remove function in PowerApps using Errors() function and it seems, it is not working properly for us. Scenario: We have built a PowerApps for SharePoint custom list. Our requirement is to capture the error, if user who is trying to delete the record is not having required permission to delete an item from the SharePoint list. As shown in the below error screenshot, it always shows option 1 i.e. "Request deleted successfully..." irrespective of User is having permission or not to do it. Although, it is not removing the item from the gallery but it always shows success message and Errors() function is not capturing the error in this case. Please let us know what we are doing wrong here and what is the best way to capture errors for Remove function in PowerApps. Thanks, Kris