Problem adding custom label to standard lookup pop up window

  • 2
  • Problem
  • Updated 1 year ago
  • Acknowledged
I added search fields to one of the reference field and provided custom label to Account field as below -

</field>               
<field id="Investor_Contact__c" valuehalign="" type="" optionsource="">
                    <filters>
                        <filter type="modelmerge" operator="=" field="Investor__c" value="" model="Introductions" enclosevalueinquotes="true" mergefield="Investor__c" novaluebehavior="deactivate"/>
                    </filters>
                    <searchfields>
                        <searchfield query="true" return="true" show="true" field="Name" operator="contains"/>
                        <searchfield query="false" return="true" show="true" field="AccountId" operator="=">
                            <label>Investor Name</label>
                        </searchfield>
                        <searchfield query="false" return="true" show="true" field="Phone" operator="contains">
                            <label>Phone</label>
                        </searchfield>
                        <searchfield query="false" return="true" show="true" field="Email" operator="contains"/>
                        <searchfield query="false" return="true" show="false" field="Account.Name" operator="contains"/>
                    </searchfields>
                </field>

Initially while the page load it shows the correct label but if trying to access the lookup 2nd time it starts showing the actual field label instead of the custom label. Screenshot attached.

1st Attempt - 



2nd Attempt -
Photo of Vivek Gupta

Vivek Gupta

  • 378 Points 250 badge 2x thumb

Posted 2 years ago

  • 2
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Vivek~

I'm not able to reproduce what you are seeing. Do you have any custom code on the page (JS or CSS?) Do you have any conditional rendering? How is the popup being called from the page? Can you explain what you mean by trying to access it a second time? 

Thanks!
Karen
Photo of Vivek Gupta

Vivek Gupta

  • 378 Points 250 badge 2x thumb
Hi Karen,

This popup is standard for a reference field. In this case when you try to populate Investor Contact (Lookup-Contact) this pop up opens up to choose the contact record. As this is standard popup no conditional rendering is done.

Also, second time is when you try to update the value in the same instance. Meaning - 

Step 1 - Go and click on the Investor Contact lookup & select a value or close it without selecting. Custom label provided will be shown.

Step 2 - Go and again click on the investor contact lookup. You will see different label as of custom label.

Thanks,
Vivek
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Vivek~

Thanks for that clarification. I now understand and am able to reproduce what you are seeing. I will notify the developers of this issue. This post will updated when a future release addressing this bug is available.

Thanks for alerting us of this bug and helping make Skuid better!

Karen
Photo of Vivek Gupta

Vivek Gupta

  • 378 Points 250 badge 2x thumb
Thanks Karen! Appreciate your help. Please keep me posted.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Will do :)
Photo of Jaime

Jaime

  • 1,220 Points 1k badge 2x thumb
Hey Karen....is there an update on this?  I thought that JD Bell had a work around for this.  I'm running into this issue.