Create Record from Javascript

Confluence User - 17 Jul, 2018

Hi, 

I need to build a button that normal users will click to create a record in another form using javascript

This button will appear on a jqueryui popup. I have tried the JSON API, but it needs the user to have the admin role and I have to provide the password in the javascript.

Is there an example of how I can achieve this with Javascript API?

Thanks.

javascript;forms;api

2


18 Jul, 2018
confluenceUser
confluenceUser

Hi, you could try submitting the other form using javascript to simulate the click, for example https://stackoverflow.com/questions/9855656/how-to-submit-a-form-using-javascript 

18 Jul, 2018
confluenceUser
confluenceUser

Hi Anders,

Hows it going? Maybe this picture will help me explain better. I want to select the Product quantity and click add in the dialog. After clicking Add, the product items should appear in the list of items in another tab. Is this possible?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print