Feb 23 2021 01:53 PM
Feb 23 2021 01:53 PM
I have a list webpart who give project info.
Title of the project
Description of the project.
This list is create at the site collection level.
When I fill the new project forms one elements is create in this list.
A workflow start at the creation and a subsite is create for the new project with a subsite template.
I have create another list at the site collection level where I have a workflow who start at the creation too. This one generate user access for the subsite.
The goal is to make the work more easy for the user who create the project.
So I have create a wikipage at the site collection level who are an import of the list use to create the project. I have create this page in SPDesigner 2013 and via designer I have export this page like custom webpart.
Like this, I could add this custom webpart on a wikipage create in the project subsite.
Like this custom webpart is linked with the list at the site collection level, if I add elements on it, the list is updated at the site collection level and vice versa.
That's work great, but this kind of link view doesn't have all list properties Like Connection option.
So when I generate a new subsite project, my wikipage present all project and all user access.
My goal is to present on each wikipage in each subsite, only the information in link with this project.
Ex: one line with the name of the project and the description where the name of the project is the name of the subsite.
So If i create a project name test5, my workflow create a subsite name test5 with the URL
I would like than the webpart present only the elements in link with project title test5.
I have find than I could create a view filter with the active user properties. When I check the code of the page I have this query. I would like change "UserID" for Site title. But each test I have make give an error or no result in the list.
Actually in the view forms I use a filter 'create by' with the connected user properties between [ ].
Any hint is welcome.