Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, July 1, 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: Code Snippets
slxguy
Posts: 71
 
Code SnippetsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Dec 09 3:37 PM
Where are code snippet files stored at inside my VFS?

Example I add a Code Snippet to the onLoad event of ContactDetails. I add a step and i choose to edit it and AA opens ContactDetails.OnLoad1.OnLoad1Step.cs

Where is this c# file at so I can copy it to my bundle?
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Code SnippetsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 09 6:58 AM
The .cs file is located in the same folder location (database of the file based vfs location) as the containing smartpart. The .cs file is included when you bundle the smart part itself (in your case contact details).

Mark
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Code SnippetsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 09 9:01 AM
Quote:
Originally posted by slxguy

Where is this c# file at so I can copy it to my bundle?


To add it to a bundle, create/open a manifest and expand the entity, expand forms, drag the form with the LoadAction from the tree under the entity into the manifest.
[Reply][Quote]
slxguy
Posts: 71
 
Re: Code SnippetsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 09 9:37 AM
Quote:
Originally posted by Ryan Farley



To add it to a bundle, create/open a manifest and expand the entity, expand forms, drag the form with the LoadAction from the tree under the entity into the manifest.


Is there a way to directly access the c# file through Project Explorer? (Instead of going to properties -> Load actions -> snippet properties -> misc -> edit link)

I.e. Can I navigate to that c# file directly via Project Explorer, Double-click it and open it up to edit it?
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Code SnippetsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 09 5:44 AM
No I dont think so - if you use the Virtual File System explorer it may be exposed somewhere but I doubt it. I would edit them in exactly the way you have been to be on the safe side. You dont want to edit a load of code and find you have lost it because you are getting to it in a non-standard way.
[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/1/2025 7:45:26 AM