Hi I have created a web Item. When I click the web Item it should run a script. The script works fine but the page is redirected to the rest end point URL. Any solutions please?
If you can apply Javascript for the web-item. Simply add a onClick event, then preventDefault() on that item.
Edit: You can also set the href for your item to #.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pradeep A with ScriptRunner, you can set your web-item to "Run code and show a flag" and still keep your URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Nhac Tat Nguyen Also can you please tell me how to send nested Json input to an HTTP request currently i'm doing like this
jsonBody.put("template@odata.bind","https://graph.microsoft.com/v1.0/teamsTemplates('standard')")
jsonBody.put("displayName", displayName)
jsonBody.put("description", description)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@srinivasp you said you had similar issues right? Any solutions?. If you di have please mention the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.