1
votes

I have a difficulty understanding regarding Data source name for views.

Let say I'm using 5 XPages in my XPiNC application and each xpage contains a view. I noticed that after I drag the view from the container control, for each view I have view1 as the Data source name. It is necessary to change it ( the data source name ) from the start?

Or just if the near future I will programmatic call this view by its Data Source Name?

Some clarifications are welcome.

Thanks for your time!

1

1 Answers

1
votes

The Data source name has only to be unique within an XPage or Custom Control. It is up to you to use the default name "view1" or to give it a more descriptive name.

You can include in an XPage several Custom Controls which all have the same data source name "view1" as the name is only used within the Custom Control itself.