I would like to create a list view in a template site si that when a subsite is created by using that template takes the subsite url, extracts the name (e.g. in https://...sharepoint.com/sites/project1 gets project1) and uses project1 as filter (show all items that have project1 in columnX).

Obviously, it should automatically use project2 when the subsite is https://...sharepoint.com/sites/project1 gets project1

I tried to edit a custom view but I am completely new to ASP

Any clue?

  • Can you provide additional information what is your code and in which place you are looking for that change. – Venkat Konjeti Jun 16 '17 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.