Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Does CEWP have limits to characters in href attribute ( creating a button using javascript and on click redirecting to a page)

$
0
0

Hi,

I am trying to create a button in CEWP using javascript and also giving a link to some page but url miss some characters after 255 characters and it stop working.

Please find below code for CEWP:

href="javascript:createNewDocumentWithProgID(escapeProperlyCore('http://moss.abcdef.com/MFG/Fab4/PilotLineTasks/Fab4%20Pilot%20Line%20Task%20List/Forms/template.xsn', true), 'http://moss.abcdef.com/MFG/Fab4/PilotLineTasks/Fab4%20Pilot%20Line%20Task%20List/', 'SharePoint.OpenXMLDocuments', true)"

It misses characters which highlighted in bold.

Please help me out.

Thanks in advance.

Regards,

Jayashri


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>