Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, June 30, 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: Modifying Smart Part directly in App. Architect
Ken
Posts: 8
 
Modifying Smart Part directly in App. ArchitectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 10 2:08 PM
Hi All,

Apologies for the newbie question in advance. But I am editing a custom smart part directly in Application Architect (SLX v. 7.2). The change is simple...removing two date/time pickers and replacing with picklists.

So I have updated the .ascx file under: Portal Manager/Sage SalesLogix/SupportFiles/SmartParts. I did a Build Interface and Build Web Platform and then re-deployed. No issues.

But the change isn't showing up on web client. Did I miss any steps?

Thanks in advance.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Modifying Smart Part directly in App. ArchitectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 10 3:29 PM
Assuming you modified this directly in AA? Is that right?

First, look at the deployed file and see if your changes are showing up.

Second, try deleting the deployed file (to force it to get deployed again) to see if that helps.

-Ryan
[Reply][Quote]
Ken
Posts: 8
 
Re: Modifying Smart Part directly in App. ArchitectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 10 3:54 PM
Hi Ken,

Absolutely - We don't have permissions to install VS on the server, so I directly modified the following in the Portal Manager: /SupportFiles/SmartParts/Account/ed.ascx in AA.

Unfortunately this might require some handholding, but which file gets deployed as a result of this (i.e. where should I look in AA) to see this deployed file? My understanding was that the ascx file is configured as a Smart Part in the Portal Manager: (Pages/AccountDetail - in this case)

Thanks again
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Modifying Smart Part directly in App. ArchitectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 10 4:04 PM
When I say "look at the deployed file" I am referring to the file that get's pushed out to the IIS server. In the deployment location on the IIS server you'll see the ASCX file. Something like C:\inetpub\wwwroot\SlxClient\SupportFiles\SmartParts\Account\ed.ascx.

Does that make sense?
[Reply][Quote]
Ken
Posts: 8
 
Re: Modifying Smart Part directly in App. ArchitectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Apr 10 10:27 AM
Thanks Ryan!

That was the issue - the change shows up perfectly. Since I have your attention, I did want to ask one other related question. We've updated the date/time picker object to a picklist (containing just strings). So accordingly, using the DB Manager, the field was updated from DateTime to String.

On the ascx, along with making the form change, I also updated the database binding from:

...WebEntityBinding("CAccountIre.DateTendered", dtpDateTendered, "DateTimeValue", "", null)
...Binding.Add(...)

to
...WebEntityBinding("CAccountIre.DateTendered", pklDateTendered, "PickListValue")
...Binding.Add(...)

But now if a pickist value is chosen and a save is attempted, I get: "February is not a valid value for DateTime.:
String was not recognized as a valid DateTime."

In AA, I also updated the datatype to string using the System Data Type Editor.

Thanks again
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Modifying Smart Part directly in App. ArchitectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Apr 10 3:58 PM
In addition to modifying the database field in DB Manager, you need to also modify the entity itself in AA so the implementation code for the entity is created with that property as a string instead of a DateTime.

Open the entity, locate the property, change the data type of the property. Then do a full build (and deploy again) and all should be good.
[Reply][Quote]
Ken
Posts: 8
 
Re: Modifying Smart Part directly in App. ArchitectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Apr 10 8:43 AM
Hi Ryan,

That makes perfect sense. Unfortunately, our deployment has never been completely successful from AA. We always get a: Access to path '\\websvr6\Slxweb$\SlxClient\application.xml' is denied.

In fact, yesterday, the only way I was able to test whether my front-end changes would work was by logging in directly into websvr6 and modifying the ascx from there.

Do you know if this specific file needs any special permissions?

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): 6/30/2025 1:37:39 PM