Related Items - dynamically filter not working

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
ragesoft
Posts: 50
Joined: Fri Feb 23, 2018

31 Jul 2020

Hi there,

i've tried the dynamic filter solution for our new form like described here:
https://spform.com/related-items/dynami ... point-form

But it is not working.
It seems, the inplviewhash is not updated at all.
We have 2 related item webparts on the form (behind a tab control).
I've tried to give one of them a css class and update the hash on lookup-change...
I tried the form inside dialog and stand-alone.
In debug i see all went fine until the "window.location.hash". Values and new string is correct. (i also tried to use %3D instead of "=" near filter and value...)
But if i check the hash after the "update" it is still the old value...

Do we need to implement something like this approche:
https://roykim.ca/2014/05/25/sharepoint ... web-parts/

thx a lot!

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

03 Aug 2020

Hello ragesoft,

Please see the code example for filtering two related items in this thread:
viewtopic.php?f=1&t=2235&p=7127&hilit=w ... hash#p7127

Charleslib
Posts: 1
Joined: Fri Aug 14, 2020

25 Aug 2020

Date1=PeriodtoDatePeriodOffsetDatetoPeriodStmt_date,-1

I put this statement in the report writer, it works fine.

But the same expression in form designer would not work.

Could anybody explain if I have to do something special in the form designer please?

Thank you

Sobik

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

26 Aug 2020

Hello Sobik,

What report writer are you talking about? What exactly do you need to design?

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests