Skip to main content
Question

Capturing Elements of A Sharepoint Page

  • July 24, 2025
  • 17 replies
  • 122 views

Forum|alt.badge.img+4

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

Forum|alt.badge.img+4
  • Navigator | Tier 3
  • July 25, 2025

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
Forum|alt.badge.img+3

That’s an interesting question, Chris 621 !

I think the following community members may be able to help 

@Vatsy 

@Tamil Arasu10 


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • July 25, 2025

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+16
  • Most Valuable Pathfinder
  • July 25, 2025

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


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • July 25, 2025

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+15
  • Premier Pathfinder | Tier 7
  • July 25, 2025

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.


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • July 25, 2025

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+15
  • Premier Pathfinder | Tier 7
  • July 25, 2025

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


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • July 25, 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.


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • 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?


Forum|alt.badge.img+4
  • Author
  • 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
Forum|alt.badge.img+15
  • 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.


Forum|alt.badge.img+4
  • Author
  • 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
Forum|alt.badge.img+15
  • 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.

 

 


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • July 29, 2025

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


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • 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
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • August 1, 2025

Hi ​@Chris 621,

 

Was it beneficial for you? Kindly let me know.