0

Dynamically updating Field's Display Name

Sujoy 1 month ago 0

Requirement - I want to have a field whose display name need to be changed based on current month and year.

For example - let the field's display name be "Month 1", and as current month is March 2024, so the display name should be updated as "March 2024". And this should happen dynamically without any human interaction.

Purpose - I want to use this field in a subgrid's view, so that column heading gets dynamically changed as Month progresses.

My Trying (didn't fulfill the purpose) - I wrote a web resource but was able to update the field's label, but it didn't satisfy the above purpose. After investigation, I found that I won't be able to update field's display name directly through web resource.

Query/Request - Is the requirement possible using PCF control? if yes, please help me to fulfill the business requirement.