0

Is it possible to call a function in a widget?

396 1 1
Posted   9 months ago

I want flow to send data to a sharepoint list, my idea was to have the course loaded into sharepoint, and have a widget that dealt with list interactions such as read write etc.

But I need to call functions in this widget to do this.

I addtion I have noticed a couple of API calls involving events, but I can't find any documentation on this, so I'm not sure if these would apply to trigger a function call.

Comments

( 1 )
0
5 months ago     Brent Schlenker     50   |   2  

Hi David, were you able to make this happen using Paul's information?

Answers  ( 1 )

1
avatar Paul Schneider   |    
Posted   9 months ago

You could create an HTML widget and call whatever functions outside the course you like.  As you would want to get variables from the dominKnow course, you would first need to set the variable in dominKnow using the various variable actions and triggers.  Once the variable is created/set, then you can use the ContentAPI to get (or set) the value of that variable and then pass it onto another system or get a value from another system and set it.

In the knowledge base:

https://share.cds.dominknow.one/934f0ed62cf21edb17852afcf128a8ad/3d0f3ad4-95aa-3527-89cc-2b2a2ffedf8f/A3276AF1-06CE-C0A3-6794-85251330874B/index.html?subeoid=412895

Here you will find info about the content API as well as a sample that sets/gets variables. I believe this will help.  Once you get things going please reply to this thread with details of your success so others can benefit!  

 

Thanks

 

Comments

( 0 )