SiteObject::SetPrimaryOutput (open)
Updates the current webserver and relative url within that webserver where this site is hosted locally.
Syntax
LOADLIB "mod::publisher/lib/siteapi.whlib";
MACRO SetPrimaryOutput(INTEGER newoutputweb, STRING newoutputfolder)
Parameters
INTEGER newoutputweb
Id of the webserver that will host this site, 0 for no hosting
STRING newoutputfolder
Output folder, relative to site root where this site is hosted.