Skip to main content
Question

Capturing Elements of A Sharepoint Page

  • Jul 24, 2025 12:27 PM UTC
  • 17 replies
  • 243 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

  • Navigator | Tier 3
  • Jul 25, 2025 4:55 AM UTC

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.

Did you try using SharePoint command package of Automation Anywhere


CaptainPathfinder

That’s an interesting question, Chris 621 !

I think the following community members may be able to help 

@Vatsy 

@Tamil Arasu10 


  • Author
  • Navigator | Tier 3
  • Jul 25, 2025 12:32 PM UTC

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.

Did you try using SharePoint command package of Automation Anywhere


That package isn’t available to us currently, will have to find an alternative solution. Wish it was.


Vatsy
Most Valuable Pathfinder
Forum|alt.badge.img+8
  • Most Valuable Pathfinder
  • Jul 25, 2025 2:17 PM UTC

Hey ​@Chris 621,
Did you try Simulate Keystrokes action to perform this task?


  • Author
  • Navigator | Tier 3
  • Jul 25, 2025 2:30 PM UTC

Hey ​@Chris 621,
Did you try Simulate Keystrokes action to perform this task?


Keystrokes aren’t going to capture the Sharepoint document files as a table so I can loop through all files to determine which specific ones to work on. 


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • Jul 25, 2025 8:02 PM UTC

Hi ​@Chris 621 ,

 

You can download the SharePoint package (latest version) using the below link.

 

https://aai-artifacts.my.automationanywhere.digital/packages/bot-command-sharepoint-2.8.0.jar

 

 

You can refer here to add this to your CR.


  • Author
  • Navigator | Tier 3
  • Jul 25, 2025 8:43 PM UTC

Hi ​@Chris 621 ,

 

You can download the SharePoint package (latest version) using the below link.

 

https://aai-artifacts.my.automationanywhere.digital/packages/bot-command-sharepoint-2.8.0.jar

 

 

You can refer here to add this to your CR.



Already stated that we cannot use the Sharepoint package, have to find a different solution.​


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • Jul 25, 2025 8:45 PM UTC

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.

Did you try using SharePoint command package of Automation Anywhere


That package isn’t available to us currently, will have to find an alternative solution. Wish it was.

 

U stated that it is not available. Hence why shared the download link. Anyway, sorry


  • Author
  • Navigator | Tier 3
  • Jul 25, 2025 8:58 PM UTC

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.


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • Jul 28, 2025 12:13 PM UTC

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?


  • Author
  • Navigator | Tier 3
  • Jul 28, 2025 12:56 PM UTC

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
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • Jul 28, 2025 1:48 PM UTC

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.


  • Author
  • Navigator | Tier 3
  • Jul 28, 2025 1:54 PM UTC

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
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • Jul 29, 2025 5:43 AM UTC

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.

 

 


  • Author
  • Navigator | Tier 3
  • Jul 29, 2025 2:04 PM UTC

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


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • Jul 30, 2025 5:39 AM UTC

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
Premier Pathfinder | Tier 7
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • Aug 1, 2025 11:59 AM UTC

Hi ​@Chris 621,

 

Was it beneficial for you? Kindly let me know.