[Help] Modal Buttons & Forms

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2018 07:08 AM
Hello,
I'm looking to create a modal button in the service portal which displays my password reset form.
Anyway to achieve this?
I've seen some similar posts and it doesn't seem to help me.
To start with, I've used "Serviveportal.io" code to display the modal, but I haven't had any luck with trying to display the password reset form.
Any help is appreciated.
Thanks,
Jordan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2018 08:36 AM
Your widget sys_id and the catalog item sys_id are the same.
Referencing your code above, put the sys_id of the widget you'd like to call in the line below
widget: "752893094f45978021a168d18110c713", //add widget sys_id
To get the widget sys_id, navigate to Service Portal -> Widgets, locate the widget, right-click on it, and select Copy sys_id. Alternatively, open the widget, click on the hamburger icon in the upper left, and select Copy sys_id
Next, you want to place the sys_id of the catalog item you want to call in the line below
widgetInput: {sys_id: "752893094f45978021a168d18110c713"} // add cata item sys_id
To get the sys_id of the catalog item, follow the same steps as you did for the widget, only you'll navigate to Service Catalog -> Maintain Items
Give that a try and report back

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 01:03 AM
Hmm, Is there any way to do it without the use of a catalogue item. my password reset process doesn't use a catalogue item.
Or will I need to create a catalogue item for it?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 01:14 AM
Also, How do I create a widget for a specific catalogue item. Think this is where Im going wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 10:17 PM
Simply provide a link to change password page in a widget...
<a href="/$pwd_change.do" title="Reset Password">Reset Password</a>