User Profile
narayanareddy
Copper Contributor
Joined May 22, 2017
User Widgets
Recent Discussions
Re: Need sample code to copy site pages from one site colleciton to another site collection using pnp.js
Dear NicolasKheirallah Thank you so much for your reply. I was traveling and so did not get chance to reply you. I am sorry. I am site collection admin in both the site collections and I get the below Access denied error when I check in the network tab while debugging the workbench web part. I think I am not using any Microsoft Graph API also for any permissions approvals. Moreover I am testing in the workbench and it is not yet preparted for a solution but just testing in the local work bench. Please advise if you have any ideas for fixing it in the local workbench web part. Thank you so much for your time and help. "odata.error": { "code": "-2147024891, System.UnauthorizedAccessException", "message": { "lang": "en-US", "value": "Access denied." } }760Views0likes1CommentRe: Need sample code to copy site pages from one site colleciton to another site collection using pnp.js
Dear NicolasKheirallah , Thank you so much for your reply. I used the below code. const destinationUrl="/sites/Communication2SiteForMyDevelopmentTesting/SitePages/testinganchortag.aspx"; await this.sp.web.getFileByServerRelativePath("/sites/TestCommunication/SitePages/testinganchortag.aspx").copyByPath(destinationUrl, false, true); I get below Forbidden error message. I am the site collection admin in both the site collections - RootSiteurl/sites/TestCommunication/_api/SP.MoveCopyUtil.CopyFileByPath(overwrite=@a1)?@a1=false 403 (Forbidden) Please share any suggestion you have for me to get rid of this error. Thank you so much for your help.864Views0likes3CommentsNeed sample code to copy site pages from one site colleciton to another site collection using pnp.js
Dear all, I am using pnp.js version - "@pnp/sp": "^3.21.0". I have a requirement to copy site pages from one site collection to another site collection using SPFX webpart. I would need sample code to achieve this. Please share the sample code. I thank you for your time and help.1.1KViews0likes5Commentshow to cop site pages from one site to another site with SPFX and Rest API
Dear all, I have a requirement to copy site pages from one site to another site using SPFX web part. I am not familiar with React js and so going to implement it with REST API and no framework. Please advise with sample code. Thank you so much for your kind support and help.529Views0likes1CommentHow to copy a table column on SharePoint page to SharePoint list column
Dear all, I have a requirement to copy a column of the table which has hyper links and normal text in 100 number of rows. This is on SharePoint page, I need to copy this entire column of rows to a SharePoint multli line rich text field in a list. Is there any way I can do it without manually editing SharePoint list field. Like using any PowerAutomation flow that can read table on a SharePoint page. I tried to copy it to excel and from excel reading it with Power Automation. But, when I copy the content from SharePoint page to Excel the content is not in good format and it is broken. Please advise if you have any ideas to achieve this without manually copying. Thank you so much for your help and ideas. Best Regards, Narayana Reddy878Views0likes2CommentsHow to have Hpyer link url copied from one cell to another cell with formula
Dear all, I have a requirement to copy excel hyperlink urls in group of cells under one column to another column of cells with a formula. The hyperlink on the cell has a display name and when click on the display name then it redirects to the link url. So, I just need to extract automatically the hyperlink url with formulas. Please share your ideas or thoughts on how to extract hyperlink url from one cell to another cell with formula automatically. Thank you for your help and support. Best Regards, Narayana ReddySolved15KViews0likes2Comments
Recent Blog Articles
No content to show