Related-items Get Column Value

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

27 Aug 2018

Hello,

I want to get value from column which in child table. This is Crossite Lookup. I can't get value from these column.

Forms Designer Version 3.1.4

SCRIPT5007: Unable to get property 'Row' of undefined or null reference

Code: Select all

alert(fd.relatedItems(0).data('ctx').ListData.Row[0].AdSoyad[0].lookupValue);
alert(fd.relatedItems(0).data('ctx').ListData.Row[0].Ad_x0020_Soyad_x003a_departman[0].lookupValue);
Screenshot_54.png
Screenshot_54.png (26.34 KiB) Viewed 2086 times
Screenshot_55.png
Screenshot_55.png (13.13 KiB) Viewed 2086 times
Screenshot_56.png
Screenshot_56.png (16.09 KiB) Viewed 2086 times

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

27 Aug 2018

Hi ksertkaya,

You can change the render side from Server to Client.
Скриншот 2018-08-27 20.57.12.png
Скриншот 2018-08-27 20.57.12.png (126.91 KiB) Viewed 2077 times

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

28 Aug 2018

Ahh thank you :)

Now this works :

Code: Select all

alert(fd.relatedItems(0).data('ctx').ListData.Row[0].AdSoyad[0].lookupValue);
but alert shows undefined

Code: Select all

alert(fd.relatedItems(0).data('ctx').ListData.Row[0].Ad_x0020_Soyad_x003a_departman[0].lookupValue);]

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

28 Aug 2018

Try fd.relatedItems(0).data('ctx').ListData.Row[0].Ad_x0020_Soyad_x003a_departman

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

10 Sep 2018

Thanks a lot :)

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests