Related Items Task field

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
hp
Posts: 26
Joined: Thu Jan 15, 2015

02 Dec 2014

https://app.box.com/s/gme0t1l9p9pmwyb0yjnf


please check the screenshots out.

thanks!

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

03 Dec 2014

Yes, 'Unknown' is a value of TypeAsString property of a Related Items field.

hp
Posts: 26
Joined: Thu Jan 15, 2015

03 Dec 2014

ok. so which approach should i take to open those document in new tab?

thanks in advance

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

04 Dec 2014

Please, put the following code into JS-editor of Forms Designer and save the form:

Code: Select all

fd.field('RelatedItems').control()._el().find('.ms-relateditems-title a').attr('target', '_blank')

hp
Posts: 26
Joined: Thu Jan 15, 2015

04 Dec 2014

Hi!

this still didnt work. but thaks for trying.:)

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

05 Dec 2014

So could you drop HTML-source of your form page to support@spform.com? I've checked the code above and it worked properly for me.

bnunweiler
Posts: 11
Joined: Tue Jun 10, 2014

16 Dec 2014

Hello SP Forms; hp and I work together and have been trying to solve this problem. I've emailed you the source of the Edit form of the task which we're trying to set the Related Items on .


Thanks

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

17 Dec 2014

The Related Items field is empty in the provided form. Could you send another one with filled-in Related Items field.

hp
Posts: 26
Joined: Thu Jan 15, 2015

01 Oct 2015

any solution for this problem yet? thanks!

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

02 Oct 2015

Could you provide HTML-source of the form page containing the related documents on it (the list of related document must not be empty).

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests