Posted: 17 Aug 2020 9:50 EDT Last activity: 20 Aug 2020 12:24 EDT
SMD without interaction manager
I am trying to develop RDA bot which should open a UI with BUTTON and LINK.
When users click on BUTTON it should check custom "App config file" and open all applications which are set to true. when user clicks on LINK(available on UI), a new windows form opens that offers user to check or uncheck the applications that they want to start when the BUTTON is clicked.
And the these changes done should save in AppConfig file.
so for this requirment, Can we SMD controller in studio automations without using IntMgr?
You do not require the use of the Interaction Manager to use Start My Day. Incidentally, the Start My Day controller has a method for displaying a UI that a user can use to enable or disable applications from their Start My Day list. You would need to code your own logic to pre-enable this list based off of an external configuration file, however if you are giving users the ability to change the list anyway, you might not need an external file and can essentially hard-code the list such that Apps X,Y, and Z are enabled the first time.
For tracking whether or not the automation has been run before, I like to use the Credential Manager component. On startup, I check for a credential that would only get set after the first run. If it exists already, you know it has been run before. This component stores data in a file specific to a given user, so it is useful for things other than strictly storing credentials. If you'd like to reset this value every time there is a new version, write some logic to incorporate the version number into the credential name.