6/29/2025 1:32:02 PM
|
|
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!
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.
|
|
|
|
Accessing and Manipulating Events Outside of Application Architect "scope"
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? |
|
|
|
Re: Accessing and Manipulating Events Outside of Application Architect "scope"
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.
|
|
|
| |
|
Re: Accessing and Manipulating Events Outside of Application Architect "scope"
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? |
|
|
|
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!
|
|
|
|
|
|
|
|