Posts

Showing posts from July, 2019

Relink InfoPath Forms in SharePoint Online

After migrating InfoPath form from SharePoint 2010 to SharePoint online, I saw that form templates links were showing old SharePoint 2010 server URL. Now I have relinked it. To relink, Go to Library Settings Under “Permissions and Management” group, click on “Relink documents to this Library”. This will take you to the “Repair.aspx” view. Now go to “Files” Under Actions group, you will find “Relink” AND “Relink All” button. Just hit Relink All to link with current site.

Bulk change JavaScript Extensions (.js) to TypeScript Extension (.ts) recursively

I was working on an upgrade project which required to convert JavaScript/ jQuery to TypeScript files from all the folders & sub folders. Here is the command to rename all .js files to .ts files : for /R %x in (*.js) do ren "%x" *.ts