Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom button not show after update config manifest file #1871

Open
nhattan1504 opened this issue Aug 17, 2024 · 0 comments
Open

Custom button not show after update config manifest file #1871

nhattan1504 opened this issue Aug 17, 2024 · 0 comments

Comments

@nhattan1504
Copy link

Screenshot 2024-08-17 at 15 08 36

I try to set up a button to open files like Kami. I read this document in this link but after 2 days this configuration did not show in my app.

I have some concerns about this register link. Any app like Adobe and Kami, requests the scope File.ReadWrite.All and my Onedrive business will show it.

This is the below configuration for development and testing purposes
{ "id": "71d0c488-2b38-425b-b10c-739444dfef29", "type": " FileHandler", "properties": [ { "key": "version", "value": "2" }, { "key": "actionMenuDisplayName", "value": "Button Actions" }, { "key": "fileTypeDisplayName", "value": "Button Pdf Actions" }, { "key": "actions", "value": "[{\"type\":\"open\",\"url\":\"http://localhost:4200/open/onedrive\",\"availableOn\":{\"file\":{\"extensions\":[\".pdf\"]},\"web\":{}}}, {\"type\":\"preview\",\"url\":\"http://localhost:4200/open/onedrive\",\"availableOn\":{\"file\":{\"extensions\":[\".pdf\"]},\"web\":{}}}, {\"type\":\"custom\",\"url\":\"http://localhost:4200/open/onedrive\",\"displayName\": \"Add Button\",\"shortDisplayName\": \"Add Button to open\",\"availableOn\":{\"file\":{\"extensions\":[\".pdf\"]},\"web\":{}}}]" } ] }
Someone can help me to clear this concern. I do not think we can use this way on production to per customer want to use it. Kami and Adobe do not use it to show the Custom button.
Thanks, everyone.

[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant