cancel
Showing results for 
Search instead for 
Did you mean: 

avm-deploy-website Action is not Working

senthilnathan_s
Champ in-the-making
Champ in-the-making
Hi I tried using avm-deploy-website action using the action root node in Web Scripts.But it asks for a mandatory parameter server which is of type NodeRef,but from where we will get the NodeRef for the server configuration :?:
1 REPLY 1

mrogers
Star Contributor
Star Contributor
You will typically use run a  query to obtain the node ref of the deployment configuration for the server you want to deploy to.

Have a look at the UI code that calls this action. 
org.alfresco.web.bean.wcm.DeployWebsiteDialog and
org.alfresco.web.bean.wcm.DeploymentUtil.   

the DeploymentUtil.findServers() method may be what you are looking for.