How to save my Add-in settings

How to save my Add-in settings

Anonymous
Not applicable
1,045 Views
6 Replies
Message 1 of 7

How to save my Add-in settings

Anonymous
Not applicable

Hi all.

I'm new to this Forum.

 

Is there API to save Add-in settings?
I'd like to save OAuth token securely to call external API in Add-in.

 

Regards.

Accepted solutions (1)
1,046 Views
6 Replies
Replies (6)
Message 2 of 7

marshaltu
Autodesk
Autodesk
Accepted solution

Hello,

 

There was no API to help save addin setting directly right away. 

 

However you would be able to save addin-specific data to disk files by language-specific(e.g. C++/Python) methods. For Javascript, we provide some utilities to help read/write disk files. Please refer to the following topic.

 

http://fusion360.autodesk.com/learning/learning.html?guid=GUID-DE5B70A6-AA7D-439D-8284-2F0382AB6C90

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
Message 3 of 7

Anonymous
Not applicable

Thank you for your response. I see. I hope you will support  saving our setting and making our preference pages.

 

 

 

 

 

0 Likes
Message 4 of 7

marshaltu
Autodesk
Autodesk

Hello,

 

It is a good idea to make addin-specific preference pages by API. I would like to recommend you create an idea in our idea station. Our product managers will review those ideas regularly and other customers will be able to vote for your idea as well.

 

http://forums.autodesk.com/t5/fusion-360-ideastation-request-a/idb-p/125/tab/most-recent

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
Message 5 of 7

MattWynn
Alumni
Alumni

PLEASE make an idea station request for API to create preferences pages for Addins - this is really important.  (IdeaStation requests should start with you folks)

 

Then please post link to the ideastation request here.


Matt Wynn
Senior Manager, Software Development, Fusion Fabrication
0 Likes
Message 6 of 7

Anonymous
Not applicable
Message 7 of 7

jaco_tech
Contributor
Contributor

I see the idea has been archived due to lack of likes.

 

I wonder if there is a(n alternative) solution for this now 9 years later ?

 

My add-in has to connect to an external api, and the external api url and so should be configurable. Instead of creating my own set of dialog windows to store this, it would be nice to have those configurations in a central and logical place ... the exisiting prefences panel. Where there could be a node for preferences for add-ins.

0 Likes