Skip to main content
6-Contributor
Sep 13, 2023 8:59 AM UTC
Solved

Service JavaScript

I would like to add button Confirm / Reject for users as to be implemented service : createButtonHTML for creating HTML with button for user action:

1) the created HTML should contain the button elements

2) Also inline JavaScript for Calling: "CompleteWorkItem" service

 

please I need guidance on this since it is my first project in ThingWorkx

 

 

 

PaiChungAnswer
22-Sapphire I
Sep 13, 2023 1:08 PM UTC

Not sure why you need to 'create HTML with button' since the Mashup builder already features a Button widget.

2 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
Sep 13, 2023 1:08 PM UTC

Not sure why you need to 'create HTML with button' since the Mashup builder already features a Button widget.

Translate
Moudy296-ContributorAuthor
6-Contributor
Sep 14, 2023 8:41 AM UTC

okay then just to do button widget with confirm as yes and reject as no

Translate