Simplelist widget and form widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 06:10 AM
Hi all,
I need help guys.
I want to create 2 pages.
One with "Simple list" widget and another one with a "Form" widget.
How can I make it so that when you click a record from simple list in page 1, opens that record in the form widget from page 2? Is there something OOTB done?
Is there a tutorial or course with this somewhere?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 07:30 AM
Hi,
My advise would be to start looking at widgets.
It feels a little as if you have an approach/design in your mind but don't know how (the) widget works. That does not sound like the correct approach (to me at least).
I would say: make a page with a simple list to start, see how it works, how the code looks like in that widget and what it does technically and what parameters you can set or change and then see how that fits with your original idea, I think looking at it like that will get you to what you are aiming for.
If you think my answer put you in the right direction or you appreciated my effort, please mark the response as Helpful or mark my response as Correct.
Thanks in advance! Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 11:48 PM
Hi @Barrilito van D I have done that already. All I need to know is how do I pass the parameter of the record from one page to the other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:06 AM
In the simple list you can see it submits an event "$sp.list.click" which the form widget (if on the same page) listens to. The event features the record sys id and table name. If you want to use another page then replace the broadcasting of the event to code that redirects you to your other page and add the sys id of the record and table name in the url (something like url/sys_id/<id>/table/<tablename> and read those params from your other widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 01:00 PM