Prompt user input - Plugin  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Prompt user input - Plugin

Postby Riyaz » Tue Jan 21, 2020 5:08 pm

Hi There

Is there a possibility where we can have a button in the SO ribbon, clicking on which we prompt a custom form to the user with a label and a textbox, and get the inputted value in the plugin.
Riyaz
Kohai
Kohai
 
Posts: 233
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: Prompt user input - Plugin  Topic is solved

Postby Mike.Sheen » Tue Jan 21, 2020 5:18 pm

Riyaz wrote:Hi There

Is there a possibility where we can have a button in the SO ribbon, clicking on which we prompt a custom form to the user with a label and a textbox, and get the inputted value in the plugin.


There's a number of examples of adding a button to a ribbon - an example which we ship with as sample plugins is the Sales Order Create Purchase Orders plugin.

That will show how to add the button, and handle the button click - from there you can look at this example plugin which displays a custom dialog with 2 labels and 2 textboxes for the user to enter credentials in - that should serve as a fairly close guide to what you are asking.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 6 guests

cron