Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, February 22, 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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: User control is not showing up in sales logix....
Raj Ubendran
Posts: 24
 
User control is not showing up in sales logix....Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 13 5:41 AM
fiogf49gjkf0d

Hi,


I have created a user control in .Net and incoperated into my saleslogix form through Architect like show below:


I followed Ryan Farley @: http://customerfx.com/pages/crmdeveloper/2011/10/13/announcing-the-open-source-saleslogix-net-extensions-helper-library.aspx


 Dim extControl
 Set extControl = new ExtensionControl
 ext.Load "HLCSalesLogixControls", "HLC.SalesLogix.Controls.Manage.SmartFocus.AddEditPandoraEmailKey", Form.HWND, true


This is working if I debug the code (that even very unpredictable) but If I run at full speed I will never see the usercontrol at all. I don't really know whats going on here as I have tried all the avenues here and running out of ideas.  Have you guys ever comes across this before? please I would be very gratefull to you if you can share your knowledge or experience.


Thanks in advance.....


Regards - Raj


 


 


 

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: User control is not showing up in sales logix....Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 13 8:12 AM
fiogf49gjkf0d

Doesn't the control have to be added to the .OCX file and distributed to all clients?

[Reply][Quote]
Raj Ubendran
Posts: 24
 
Re: User control is not showing up in sales logix....Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 13 8:23 AM
fiogf49gjkf0d

Hi,


I'm not sure about that? This is what Ryan Farley telling us to do in this article:


http://customerfx.com/pages/crmdeveloper/2011/10/27/creating-saleslogix-net-extensions-with-the-net-extensions-helper-library.aspx


 


There is no mention of this on that coverage. This is working only when you're debugging but not running at full speed. So my question what different dubugging mode making is to work?


 



 


 


[Reply][Quote]
Lane
Posts: 121
 
Re: User control is not showing up in sales logix....Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 13 9:02 AM
fiogf49gjkf0d

take it in steps.


- make sure first that you are testing from the dev machine where all the parts are located and registered.


- then add some functions to the startup script to display status of the application object to verify your code is loaded or recognised.


- we had issues with dependencies not being installed or transfered to the remotes correctly and it took a while to identify what the issue was. 


- I recall we also placed the code in the gac or in the slx applications folder (its been a while)


- last item was the slx distribution process does work but you need to get all the pieces parts incorporated in the package, Then thay all need to be self registering, if a component isn't self registering, manually install it first and verify it's in the gac.


Thats basically it, the process as a whole is pretty straight forward. You might try putting a really simple "Hello World" together first and verify the linkage is working under a few senarios, and validate file locations once pushed to a remote. Then beef up your code and track the change.


As i recall when we did it I needed several dependent components and so we manually installed a few items via the network, then pushed the slx package. It worked, but we needed to start slx or reboot in a few cases before it was consistant. A one time thing, updates seemed to work fine after that. 

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: User control is not showing up in sales logix....Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jan 13 10:46 AM
fiogf49gjkf0d

Have you tried moving the Dim extControl outside of the sub so it is global to the script?

[Reply][Quote]
Raj Ubendran
Posts: 24
 
Re: User control is not showing up in sales logix....Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jan 13 11:04 AM
fiogf49gjkf0d

Yes, that was the problem as we fixed that last night.


Thank you very much for the reply. Laughing


 

[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): 2/22/2025 3:50:35 PM