Skip to main content
7 events
when toggle format what by license comment
Apr 6, 2018 at 16:36 vote accept Arun Vinoth PrecogTechnologies
Apr 6, 2018 at 16:25 comment added Arun Vinoth PrecogTechnologies Never mind, I was reading your another answer, you use "&[email protected]" & I thought similarly "webUrl" can be used instead of hardcoded "...WopiFrame.aspx?sourcedoc=.." like in option 3.. anyway thanks for assistance..
Apr 6, 2018 at 16:14 comment added Gautam Sheth Sorry Arun didnt get your point. Which one is not working ? Couldn't spot getValueByName('.spItemUrl') in the answer :) Safest and best option IMHO would be option 2. Some of our clients dont like stuff opening in edit mode, so i usually use option 2 to open in read mode.
Apr 6, 2018 at 16:10 comment added Arun Vinoth PrecogTechnologies I see why you are hardcoding format in option 3. getValueByName('.spItemUrl') + '&$select=webUrl' is not working..
Apr 6, 2018 at 13:58 comment added Gautam Sheth Could be the case that its not an Office document. I tested this with docx, xlsx and pptx files and it worked.
Apr 6, 2018 at 13:46 comment added Arun Vinoth PrecogTechnologies Thanks for the response. Do you know why 'ServerRedirectedEmbedUrl' is empty for me?
Apr 6, 2018 at 5:30 history answered Gautam Sheth CC BY-SA 3.0