Skip to main content
Navigator | Tier 3
July 24, 2025
Question

Capturing Elements of A Sharepoint Page

  • July 24, 2025
  • 17 replies
  • 215 views

Anyone worked with Sharepoint pages and know how to capture a Sharepoint document page to a table to loop over the documents (names) stored there? Cannot get a Capture to work for this scenario.

17 replies

Chris 621Author
Navigator | Tier 3
July 28, 2025

For some reason these threads don’t allow you to edit your posts or OP after a very short amount of time, which has been standard practice in most all forums the past 3 decades, thus wasn’t able to edit my comment above to clarify. The mountain we would have to climb to get our IT security to setup the ability to use the Sharepoint package would be futile, thus my question of alternative solutions. Thanks.

 

Can you provide a screenshot of the SharePoint page where you are trying to automate?



Internal business stuff, wouldn’t be appropriate. Setup like any standard internal Sharepoint Team page, with folders/files, etc.

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
July 28, 2025

For some reason these threads don’t allow you to edit your posts or OP after a very short amount of time, which has been standard practice in most all forums the past 3 decades, thus wasn’t able to edit my comment above to clarify. The mountain we would have to climb to get our IT security to setup the ability to use the Sharepoint package would be futile, thus my question of alternative solutions. Thanks.

 

Can you provide a screenshot of the SharePoint page where you are trying to automate?



Internal business stuff, wouldn’t be appropriate. Setup like any standard internal Sharepoint Team page, with folders/files, etc.

 

The thing is, I was able to automate using Recorder package while tested with my SharePoint page. I was wondering to see any difference in terms of elements at your end ( which is not the case generally though). Hence why I asked for the screenshot.

 

What I did was, customised the DOMEXPath to get all items in the page(eg. Each documents within a folder) to loop through one by one.

 

Hope it is clear enough for you to try.

Padmakumar
Chris 621Author
Navigator | Tier 3
July 28, 2025

For some reason these threads don’t allow you to edit your posts or OP after a very short amount of time, which has been standard practice in most all forums the past 3 decades, thus wasn’t able to edit my comment above to clarify. The mountain we would have to climb to get our IT security to setup the ability to use the Sharepoint package would be futile, thus my question of alternative solutions. Thanks.

 

Can you provide a screenshot of the SharePoint page where you are trying to automate?



Internal business stuff, wouldn’t be appropriate. Setup like any standard internal Sharepoint Team page, with folders/files, etc.

 

The thing is, I was able to automate using Recorder package while tested with my SharePoint page. I was wondering to see any difference in terms of elements at your end ( which is not the case generally though). Hence why I asked for the screenshot.

 

What I did was, customised the DOMEXPath to get all items in the page(eg. Each documents within a folder) to loop through one by one.

 

Hope it is clear enough for you to try.



Do you have an AA code example? Tried working with DomX, but didn’t come away successful.

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
July 29, 2025

For some reason these threads don’t allow you to edit your posts or OP after a very short amount of time, which has been standard practice in most all forums the past 3 decades, thus wasn’t able to edit my comment above to clarify. The mountain we would have to climb to get our IT security to setup the ability to use the Sharepoint package would be futile, thus my question of alternative solutions. Thanks.

 

Can you provide a screenshot of the SharePoint page where you are trying to automate?



Internal business stuff, wouldn’t be appropriate. Setup like any standard internal Sharepoint Team page, with folders/files, etc.

 

The thing is, I was able to automate using Recorder package while tested with my SharePoint page. I was wondering to see any difference in terms of elements at your end ( which is not the case generally though). Hence why I asked for the screenshot.

 

What I did was, customised the DOMEXPath to get all items in the page(eg. Each documents within a folder) to loop through one by one.

 

Hope it is clear enough for you to try.



Do you have an AA code example? Tried working with DomX, but didn’t come away successful.

 

Here is the customization I did on DOMEXPth to fetch all the available items in the page. You can see the count highlighted here. The same can be used in the capture action.

 

 

Padmakumar
Chris 621Author
Navigator | Tier 3
July 29, 2025

Appreciate that share Padmakumar. Do you have a screenshot of the AA code?

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
July 30, 2025

Appreciate that share Padmakumar. Do you have a screenshot of the AA code?

 

Just a loop, a capture, and a message box. Nothing much. 

You would need to use a Counter in order to iterate through the items.

Padmakumar
Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
August 1, 2025

Hi ​@Chris 621,

 

Was it beneficial for you? Kindly let me know.

Padmakumar