When field metadata has been overridden on a model field, if the model is marked to process client side the overridden properties are not used - instead, the SFDC metadata is used.
Steps to reproduce:
- Create page from xml
- Preview page
Expected Behavior
Field Label = Overridden Label For Account Name
HelpText = Overridden Help Text For Account Name
Actual Behavior
Field Label = Account Name
HelpText =
- Change page to NOT process client side
- Preview page
Expected = Actual
Field Label =Overridden Label For Account Name
HelpText = Overridden Help Text For Account Name
Page XML
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account"> <models>
<model id="Account" limit="" query="true" createrowifnonefound="false" sobject="Account" adapter="" type="" doclone="" processonclient="true">
<fields>
<field id="Name" overridemetadata="true" ogdisplaytype="STRING" displaytype="TEXT" length="" label="Overridden Label For Account Name" helptext="Overridden Help Text For Account Name"/>
<field id="CreatedDate"/>
</fields>
<conditions>
<condition type="param" value="id" field="Id" operator="=" enclosevalueinquotes="true" novaluebehavior=""/>
</conditions>
<actions/>
</model>
</models>
<components>
<pagetitle model="Account" uniqueid="sk-3IeBVh-70">
<maintitle>
<template>{{Name}}</template>
</maintitle>
<subtitle>
<template>{{Model.label}}</template>
</subtitle>
<actions>
<action type="savecancel" window="self"/>
</actions>
</pagetitle>
<basicfieldeditor showsavecancel="false" showheader="true" model="Account" mode="edit" uniqueid="sk-3IeBVh-71" buttonposition="">
<columns>
<column width="100%">
<sections>
<section title="Basics" collapsible="no">
<fields>
<field id="Name" valuehalign="" type=""/>
</fields>
</section>
</sections>
</column>
</columns>
</basicfieldeditor>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage>