How to Clone the idea portal widgets and add different table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2025 02:38 AM
I'm trying to clone the widgets from idea portals, to build a portal similar to it with custom table.
Unable to find where the table name is getting passed in the script.
I have few queries regarding this
1. Where can I find and change the table name from idea to custom_idea table. Is there any specific location to declare table like system properties and use it different places using options.tablename or input.tablename. (I have checked Server script, data table and options schema config of widget but unable to find)
2. Which approach is better for building a custom idea portal : cloning and customizing the OOTB widgets or building new widgets from scratch by understanding the whole script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi,
Hope it helps😉
Widgets
1. IM Idea Detailed View – Displays the complete details of a selected idea.
2. IM Ideas – Shows the list of available ideas in the portal.
3. IM Idea Detailed View Wrapper – Provides layout and structure around the detailed idea view widget.
4. IM Comments – Allows users to view and post comments on an idea.
5. IM Create/Edit Idea – Enables users to create a new idea or edit an existing one.
6. IM Related Ideas – Displays similar or related ideas for better context.
7. IM View Idea Filler – Fills in dynamic details when viewing a specific idea.
8. IM Ideas List View Wrapper – Provides structure and layout for the ideas list display.
9. IM Ideas List Filler – Populates the list of ideas dynamically from the backend.
10. IM Idea Typeahead Search – Provides a search box with auto-suggestions to quickly find ideas.
Pages
1. ideas_list – The main page listing all submitted ideas.
2. view_idea – The page for viewing details of a selected idea.
3. create_edit_idea – The page where users can create or update an idea
Regards,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @Kamatham Sumana ,
In the widget IM Ideas (5c05b400b7b3230011a43d28ee11a94a) on line 8 of the server script there is an expression:
data.ideaTable = options.ideaTable || input.ideaTable;
It is then later used in the Client script to fetch the ideas. So Either you add the ideaTable to the options, or just set a table in the Server script directly.
Regards