Hi, Just starting to learn about macros and they are great. I am looking to use them to put duplicate content on pages of the website. I have it working to pull the entire webpart, but I was wondering if there is a way to pull a specific area of a webpart, say a div by id? I am using this macro currently: {% Documents.WithAllData["/Life/Macro-Test-Page-2"].School_EditableText %}
This works great to get the entire webpart of School_EditableText from that page. Would love to be able to a pull just one paragraph which I have given an id="one".
Thanks in advance!
Seems like something better suited for a custom page type vs. editable text. Then you can simply grab a field's data vs. what you're trying to do.
That won't work since there are already hundreds of pages built that we need the ability to pull from. There is no way to identify content from within an editable text webpart so that it can be pulled separate from the rest of the webpart?
Please, sign in to be able to submit a new answer.