- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Community,
I am working on customizing the Idea Portal and have added some custom fields to the Create/Edit Idea widget.
I have made the required changes to the widget and the values are being received correctly in the Scripted REST API. However, the custom field values are not being stored in their respective fields in the backend Idea table. While debugging, I found that the Create/Update process eventually calls the IMCreateEditIdeaDataServiceSNC Script Include. This is an OOB Script Include and is read-only, so I cannot directly modify it to map the additional custom fields.
What is the recommended OOB-supported approach to map and save these custom fields when creating an Idea? Can I extend or override IMCreateEditIdeaDataServiceSNC through the non-SNC Script Include, or is there another recommended extension point for adding custom field mappings without modifying the OOB read-only Script Include?
Any guidance on the correct approach would be greatly appreciated.
Solved! Go to Solution.
- Labels:
-
Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @ShaidaC ,
On response to your question to update the "IMCreateEditIdeaDataService" script include.
Yes, you need to update this script include. The purpose of these type of script include is to override OOB methods without loosing future updates to the original script include.
Add your customised method (createIdea) to this script include. This way if you want to utilize the OOB script include later you can comment this and use OOB.
Test this end-to-end for any other idea table, make sure the changes does not affect any other portal/idea table.
If my response answered your query, please mark my response as correct/helpful.
Thanks
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @ShaidaC ,
On response to your question to update the "IMCreateEditIdeaDataService" script include.
Yes, you need to update this script include. The purpose of these type of script include is to override OOB methods without loosing future updates to the original script include.
Add your customised method (createIdea) to this script include. This way if you want to utilize the OOB script include later you can comment this and use OOB.
Test this end-to-end for any other idea table, make sure the changes does not affect any other portal/idea table.
If my response answered your query, please mark my response as correct/helpful.
Thanks
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Anand__99 ,
I used your approach and the update is working now. Thanks a lot for the solution!
Really appreciate your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello, @ShaidaC,
Although I won't be providing a technical solution, I do have two thing for consideration:
- IMHO, whenever we start adding fields to the idea from, we really need to consider if the opening to our funnel is actually the demand process.
- When we start customizing idea artifacts, we also start introducing technical debt to our clients.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @jameswoodfo
Yes we understand the technical debt it can bring. Unfortunately, these changes are something the customer specifically needs.
Thanks for the guidance and for sharing your thoughts!
