Forum Discussion
Ashwin_CH
Aug 09, 2022Copper Contributor
Check where the documents are linked
I wanted to know, if there is a way to replace all the .doc files with .docx at once. If there is a way, will that break the link if those pages are linked. Second Question: Is there a way to s...
Ashwin_CH
Aug 10, 2022Copper Contributor
Thank you. This will help to rename the file name.
However, i would like to update the the extension of a file. From .doc to .docx, without having them to unlink from linked pages.
example:
I have file A which is fileA.doc and is linked somewhere in the site.
Now the .doc file is outdated and I want fileA.doc to be converted to fileA.docx, without unlinking them.
However, i would like to update the the extension of a file. From .doc to .docx, without having them to unlink from linked pages.
example:
I have file A which is fileA.doc and is linked somewhere in the site.
Now the .doc file is outdated and I want fileA.doc to be converted to fileA.docx, without unlinking them.
kalpeshvaghela
Aug 10, 2022Iron Contributor
That's what I have mentioned, It will update links automatically even if you update only extension of the file.
I have also validated it in my environment and working fine. See below screen shot where initially I have added link for my document with doc extension and then I have updated extension via PowerShell and now link is pointing to new URL with docx.
It will even update URL if you have added this document somewhere as Link in document library as shown in below screen.
Hope it will helpful to you. Please mark previous answer and like it if it works for you.