Changing form view while creating a new record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2018 02:50 AM
I want to change view when inserting a new record based on some field which is pre populated.
For example, I have created a new module to insert a new record in a table(incident). Also i am pre-populating category when i am creating record via this module. Now i want a different view when i create record with this module.
I have created a view rule where i have added condition (when category ='pre-populated category value'). This is working only when i am saving the record. I want the form to be loaded with this new view when category matches.
Can anyone please help me on this. Let me know if you need any other details.
TIA

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2018 12:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2018 12:32 PM
HI Sanjiv,
I have added the view name to the module. The problem is that it does not render the correct view for the new record. For saved record, it renders the correct view. I am doing this via view rule which recognizes the category and renders the view. But, for new record, it is unable to recognize the category and hence not rendering the correct view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2018 12:40 PM
hi manugupta,
In the view name field of the module, make sure you mention the "Name" of the given view,
the exact name you can check under System UI -> Views and look up the view record you want to show.
Cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2018 12:46 PM
Hi Andras,
I am doing the same. using the 'name' field of the view.