Hi,
i am exploring building the component plug-in for the below activities:
1. i will pass the parameter to the plug-in and based on that parameter the plug-in should get the data from the database and show it on the plug-in itself
2. if i modify the data on the plug-in it should update the same data on the database.
Please suggest the approach for the above requirement. please let me know if any sample plug-ins
Discussion posts and replies are publicly visible
docs.appian.com/.../component-design.html
thank you stefan for you quick response. To pull/push the data from/to the database, which approach i have to follow. Jquery or ? because we are using the appian data.
one more query can we use goJs libraries to render the UI page.?
The documentation clears says that you need to create web APIs in Appian and call these from the component. There is no direct database connection from the plugin.
any suggestion on 2 poing?
There is this:
https://docs.appian.com/suite/help/23.4/reference-js-api.html#appian.component.invokeclientapi(connectedsystem,-friendlyname,-parameters)
And then, the component plugin implements a normal behaviour, similar to other UI components. That includes saveInto logic. So you can provide data to the component and react on user interactions. For your use case this might be easier than a full API approach.