How to specify the secondary values of a custom app's record header

mfhaciahmetoglu
Mega Sage

Hello,

 

I have created an app with a custom table and added a record header on the record page. 

I want to configure the secondary values but I could not find out how. 

 

I saw that the suggested method is to go to UX Form Headers table and configure it there, but I cannot find the record header that I added on the list of UX Form headers. 

 

There should be a way to directly configure the secondary values on UI Builder itself? Does anyone have any idea?

 

Thank you.

 

Best,

Firat

1 ACCEPTED SOLUTION

mfhaciahmetoglu
Mega Sage

Hi folks,

 

Okay. I can found a very easy fix to the problem. 

 

If you want to use Record Header, secondary values, all you need to do is to create UX Form Header. However, pay attention that when you create, for the first time, a UX Form Header record, you will see that some components are added to your UI Builder. You do not need them . You can delete the components because you can use Record Header component. 

 

1. Now, delete the components added as a result of the creating a UX Form Header record. However, keep the record itself, we will need it.

2. Add a record header component.

3. Configure Primary value and subheading (these are rather straightforward).

4. For Secondary values, all you need to do is to use a function that comes with the "Form Controller" data resource. Choose the following path: 

@Data.record.form.header.secondaryItems
5. Then you will see that the secondary values that you added to you UX Form Header will appear without any problem.
 
Hope this helps.
 
Best,
Firat

View solution in original post

1 REPLY 1

mfhaciahmetoglu
Mega Sage

Hi folks,

 

Okay. I can found a very easy fix to the problem. 

 

If you want to use Record Header, secondary values, all you need to do is to create UX Form Header. However, pay attention that when you create, for the first time, a UX Form Header record, you will see that some components are added to your UI Builder. You do not need them . You can delete the components because you can use Record Header component. 

 

1. Now, delete the components added as a result of the creating a UX Form Header record. However, keep the record itself, we will need it.

2. Add a record header component.

3. Configure Primary value and subheading (these are rather straightforward).

4. For Secondary values, all you need to do is to use a function that comes with the "Form Controller" data resource. Choose the following path: 

@Data.record.form.header.secondaryItems
5. Then you will see that the secondary values that you added to you UX Form Header will appear without any problem.
 
Hope this helps.
 
Best,
Firat