cancel
Showing results for 
Search instead for 
Did you mean: 

Changes to view created using Rapid Development Application.

Former Member
0 Kudos

Hi Experts,

I have added one view using Rapid application development on opportunity. This is table view which displays data from bespoke table. After adding the view I notice, when I create new opportunity, I see all the records from bespoke table displayed. And when I save the opportunity, it is blank - shows no record (which is correct as I had not added any record while creating opportunity).

The problems: 1. Why does it displays all records from table when I am creating new opportunity?

                      2. On create screen, I want one table record with empty line so that I can add details.

                      3. Also I want access opportunity's header data in order to add some logic for fields in table, how to access header data (BTAdminH or BTOpportH)?

Kindly share your suggestions?

Thanks and Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

prasenjit_sharma
Active Contributor
0 Kudos

Hi,

For #1 and #2, you need to check the logic in DO_PREPARE_OUTPUT and/or in your getter/setter methods. Take a look to find out how the data are being pulled into the view from database.

For #3, you need to add the BTAdminH context node to the view and to the component controller, bind them. If its a standard component you might see the AdminH node at the component level already.

Regards

Prasenjit

Former Member
0 Kudos

I have created Getter and Setter method and modified logic for enabling and disabling the table fields in new view. But these methods are not called. Any idea why?

I am unable to add new model. In runtime repository of new view, I can add window, viewsets, navigationalLinks and others except Model. Not sure what am I missing?

prasenjit_sharma
Active Contributor
0 Kudos

Sometimes getter-setters are not called for custom attributes. You need to look at the controller class if the getter-setters are getting assigned for the corresponding attributes.

Also let me know what error you get when you try to add the model.