What SharePoint development model, framework, SDK or API is this about?
Site designs & site scripts
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[X] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)
Additional environment details
browser version
SPFx version
Node.js version
etc
Issue description
I have two lists A and B. I've created a lookup column on B to get data from A(item # and item address). I want to customize the view when opening an item on list B. But I can't find a way to make the fields from A visible on B. I get
_Failure: TEST_x0020_SHIPPING_x0020_ADDRES1 was not found on the data object._
I checked the name of the field and it's correct and contains data. Please check the attached image. Is there a way to get that information on that view?
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
Site designs & site scripts
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
Additional environment details
Issue description
I have two lists A and B. I've created a lookup column on B to get data from A (item # and item address). I want to customize the view when opening an item on list B. But I can't find a way to make the fields from A visible on B. I get
_Failure: TEST_x0020_SHIPPING_x0020_ADDRES1 was not found on the data object._
I checked the name of the field and it's correct and contains data. Please check the attached image. Is there a way to get that information on that view?
Note: if I disable debug it shows nothing.
Thanks in advance!
Update: The code I'm using on the Header comes from the MS official site https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-configuration
{ "debugMode": false, "elmType": "div", "attributes": { "class": "ms-borderColor-neutralTertiary" }, "style": { "width": "99%", "border-top-width": "0px", "border-bottom-width": "1px", "border-left-width": "0px", "border-right-width": "0px", "border-style": "solid", "margin-bottom": "16px" }, "children": [ { "elmType": "div", "style": { "display": "flex", "box-sizing": "border-box", "align-items": "center" }, "children": [ { "elmType": "div", "attributes": { "iconName": "Devices3", "class": "ms-fontSize-42 ms-fontWeight-regular ms-fontColor-themePrimary", "title": "Details" }, "style": { "flex": "none", "padding": "0px", "padding-left": "0px", "height": "36px" } } ] }, { "elmType": "div", "attributes": { "class": "ms-fontColor-neutralSecondary ms-fontWeight-bold ms-fontSize-24" }, "style": { "box-sizing": "border-box", "width": "100%", "text-align": "left", "padding": "21px 12px", "overflow": "hidden" }, "children": [ { "elmType": "div", "txtContent": "='Store ' + [$TEST_x0020_SHIPPING_x0020_ADDRES1]" } ] } ] }