Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 29, 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: Accessing and Manipulating Events Outside of Application Architect "scope"
Elliot Rodriguez
Posts: 15
 
Accessing and Manipulating Events Outside of Application Architect "scope"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jul 10 8:19 AM
I am using both Visual Studio and Application Architect to make changes to ASCX files. Several of the changes I've made have had to be posted into events that are not immediately accessible through Application Architect.

For example, I needed to add a custom function to a grid, then add the call to this function in the refresh method for a datagrid on my form, because I needed a value that was not available at any other time earlier in the control's lifetime.

This works great if I edit the ASCX files in Visual Studio. But there is no obvious place for me to do the same in App Architect. If I build and deploy the project in its current state through App Architect, I'll lose my work.

How do I merge the two? Or is there a better way to accomplish what I'm trying to do via App Architect?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Accessing and Manipulating Events Outside of Application Architect "scope"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jul 10 1:17 PM
It may be time for you to make it a "Custom part", there are several ways to do it:
The easiest way:
- Create a Copy of the Item that you are working with (e.g. AccountDetailsCustom.ascx).
- Within App Architect, add your file under Support Files/Smart Parts/ within an appropriate directory (e.g. Accounts), although this is more to keep things in order.
- Open to the Page Definition that your form belongs to (e.g. Insert Account), and find the Form under the List of Smart Parts.
- When you select the Smart Part, on the right hand side it will show some of the Details, including the Item Path, you can click on the Ellipsis, and change it to point to your newly added item by going into the custom Tab and navigating to select the Page you just loaded.

Do a new build and deploy, your custom file will now be deployed, and will be loaded instead of the one that was there previously.
Update the file within App Architect before doing any deployments, otherwise it will get overwritten.



[Reply][Quote]
Elliot Rodriguez
Posts: 15
 
Re: Accessing and Manipulating Events Outside of Application Architect "scope"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 10 7:23 AM
Thanks, Raul. I suspected that. For now I've had to manually merge ascx files but I will keep this in mind in the future.
[Reply][Quote]
Elliot Rodriguez
Posts: 15
 
Re: Accessing and Manipulating Events Outside of Application Architect "scope"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Sep 10 1:40 PM
I have tried the steps described but I am missing something.

If I run this through Visual Studio, the page works fine. I am using an SLX dropdown control and trapping the ChangeAction event to load my new SmartPart. Again, this works great, if I use VS as the debugger.

However, this won't work after following the steps in App Architect. I've updated the item to include the custom part, its sitting in the right place, and yet it still brings up the old version of the control (which is a QuickForm, it isnt even a SmartPart).

How do I ensure in AA that I have correctly gotten the quickform out of the way so that the SmartPart is shown?
[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): 6/29/2025 1:54:37 PM