Question

Change header title From new record to something else

I want to change the new record title to something else when i click new.

.

 

 

Like 0

Like

3 comments

Hello, 

To change this caption you need to replace schema MainHeaderSchema and change the value of localizable string DefaultPageHeaderCaption to the needed value (http://prntscr.com/ofyfpa). 

Here is the academy page on how to replace schemes: 

https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-custom-client-module-schema

Best regards,

Dennis

Dennis Hudson,

Thanks Dennis but when i replace the schema changes are made for all the sections, i wand custom header for one section like new page for account page. Also please tell me how will i change the subject of email before sending like dynamic subject. Please see the screen shot below

Muzzammil Alam,

You can check if you are you are in the certain section and use the needed value instead of DefaultPageHeaderCaption in the subscribeSandboxEvents method in MainHeaderSchema. To do this you would need to override this method in the replacing schema. To check if you are in the correct section you can use this.get("entitySchemaName"), for example. 

Best regards, 

Dennis 

Show all comments