Question

reg button name in Upload documents

Hi team

how to change the open button label name as Upload documents.

in a particular section (upload documents).

hoping for a positive reply

please find the attachment.



regards

manikanta.

 

Like 0

Like

1 comments

Dear Manikanta,

Captions for active row buttons are indicated in the localizable strings of BaseSectionGridRowView schema. Buttons, themselves, are inserted  in the BaseDataView schema.

This captions are used for all sections within the system. Since you are aiming to change the caption only for particular one, you need to merge the button insert and bind button caption to the custom method. This custom method will be returning needed caption depending on the section.

The algorithm is the following:

- create a replacing schema module for BaseDataView;

- merge the DataGridActiveRowOpenAction button. Bind caption to the custom method.

- add custom method to the methods block;

- in the method check for the EntitySchemaName of current scope. In case this is your section (e.g. UsrNewSection - the name of object your section is based on) return needed caption, in any other cases base caption.

- save schema and clear browser cache.

Regards,

Anastasia

Show all comments