Hi,
Struck a couple of issues which have worked around - but wonder whether is better way..
1.Using PluginPrefs.
Am using PluginPrefs['access_token'] to store read-only code generated access token.
Created from PluginConfig page, after button press.
The issue I had was the ValuesDict['access_token'] was always blank - as was generated after opening. (and access_token is blank until button press)
On closing/saving the PluginConfig window it appears from my debugging that the blank access_token was written to PluginPrefs.
I presume this is expected?
I have worked around by updating the ValuesDict to the access_token within ValidatePrefsConfigUi.
Is this the best way to deal with PluginPrefs changing via code whilst Config Window is open?
2. Updated PluginConfig field
As a continuation of above - After button press access_token is generated/returned.
Can I update the already open PluginConfig window immediately with this new code? (without closing/reopening which does display it)
Seem to think I am missing something basic here for this one??
Meanwhile... I'll flick my way through examples....
Thanks
Glenn