Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, July 4, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Is there a deployment script hook we can append to?
Lane
Posts: 121
 
Is there a deployment script hook we can append to?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Aug 09 12:23 PM
I'm looking for a way to add a VFS specific script to the deployment such that during or just after the deployment specific information or processes can be ADDED TO the deployment.

For example creating of a deployment info block accessable from the splash screen would be easy to add. The script could then append deployment date, deployment user, deployment VFS Source Machine, deployment VFS Source path, etc
With 200+remotes this information is needed, for phone support (versioning - you can't always push updates to everyone as simply as it appears when your international), as well as other updates/changes.

A client Side hook on the ServerHost portal restore would also be nice to manage client side processes that can't be done as a remotetask. We've run into several of these, for example: no controls exist for stopping serverhost nor can you control when a deployment is installed after sync downloads and marks it as ready to load, so if you need to run a process to update a file that serverhost is using (in program files), you have a problem. We had to push the dll out in a remotetask. Validate it was installed by script that taskkilled serverhost in a second remotetask and then push the portal.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Is there a deployment script hook we can append to?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 09 10:53 AM
You can create custom deployment actions by implementing IDeploymentActionProvider (IIRC located in Sage.Platform.WebPortal.Design.dll). In your class that implements IDeploymentActionProvider you'll have access to BeforeDeployment, AfterDeployment (both give you a reference to the PortalApplication), a RunOnBackgroundBuilds property and a GetDeployableItems method where you can write out a file containing the details you mention to the deployment directory.

Once you create your DLL, you just plug it into the deployment by selecting a deployment in the tree and then open the DeploymentActionTypes collection. Add your DLL to that collection and that is it, you've now added your own action to the deployment where you can do whatever you wish.

Is that what you were after?
[Reply][Quote]
Lane
Posts: 121
 
Re: Is there a deployment script hook we can append to?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 09 1:13 PM
Yes, sounds like it, I'll need to look at the details.
Thanks
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/4/2025 5:56:03 PM