my question is pretty similar to Can the "Script Editor" webpart retrieve values from a list? . But I can not adopt the solution or rather understand it (Sorry, I am not a programmer)


I have a document library in Sharepoint. Each document set represents a running project in my team. When a new project (=document set) is created a workflow starts and automatically creates a new empty task list.

Document set: https://linktomysharepoint/.../projects/doc-library/Project-test123
Task list: https://linktomysharepoint/.../projects/Lists/Project-test123

This works fine. The URL of the task list is also written to a field of the document set.


When I open one document set in the library I would like to see the corresponding task list directly below the document set.


I want to use the script editor below the document set to show an iframe

<iframe src="https://linktomysharepoint/.../projects/Lists/Project-test123"></iframe>

But with dynamically content, so e.g.

<iframe src="{URL from field}"></iframe>

Someone can help me?


PS: I don't want to create a new site, which shows document set and task liste separately. I want the task list directly below the document set.

1 Answer 1


Firstly,you could use rest api get URL from field.

Official document:


Secondly,you could use js/jQuery set the iframe src property.

$("iframe ").attr("src", "url from field");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.