Sometime to fulfill business needs we would need to send extra parameter to the linkservlet Following there step process needs to be done for that:
1) Update the war using below steps :
extract the ifcr
.war at ENDECA_TOOLS_ROOT/server/webapps to any temp folder say ifcr-11.0.0
extract the ifcr-11.0.0\WEB-INF\resources\bundles\25\ExperienceManagerContent-11.0.0-xmgr.jar to any temp folder say ExperienceManagerContent-11.0.0-xmgr
you will need to change ifcr-11.0.0\WEB-INF\resources\bundles\25\ExperienceManagerContent-11.0.0-xmgr\content\app.js file as below :
make changes to preview: function(f, c) function :
Add following :
b = Ext.urlAppend(b, "newVariable=" + encodeURIComponent("my custom variable"));
2) Once this is added , copy the file to any location say desktop. Now use 7-zip to drag the file in war as explained in following blog :
update war file content
3) Deploy the war as explained in following blog :
Deploy custom Ifcr war