Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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: Issue with Relationship Property Events
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Issue with Relationship Property EventsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 9:07 AM
Hi,

Has anybody come across the following when working with OnChange events for Relationship Properties? I created some OnChange events to update entity details (pretty basic stuff). Worked fine yesterday and this morning, but this afternoon the events are no longer listed under the relationship property (simply disappeared!). So I was a bit miffed but I had the c# snippet project and dlls I could look in to get my events back so not much of a problem - however when i try to add the events back in it tells me it cant add them in because they are already there! I can verify this by checking the csproject in the output directory - it has all my virtual classes and events, however I cant see them in AA. This is a big problem as I need to change what is in one of those events, but I cant get to it in the VFS.



Thanks,
Nick
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Issue with Relationship Property EventsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 11:43 AM
Wow, can't say I've seen that happen before. So, your own custom event handlers, that you yourself added, no longer show in AA? Yet they do in the compiled assemblies? Yikes.

Here's what I'd probably do. Go to the build directory and use reflector to get your code back from the compiled snippet assembly. Then delete *everything* from the build dir. Go back to AA and do a full build. Then see if it will let you add your events back.

Good luck

-Ryan
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Issue with Relationship Property EventsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Oct 07 2:47 AM
Hi Ryan,

Thanks for the response - I tried that good few times before posting this

I have managed some sort of workaround - I think there is a bug in relationship properties. If you add an onchange event, and then delete it, it disappears from the view but not from the VirtualFileSystem table, so if you add it again the build always fails as it presumes you are trying to build the same method twice. To get around it i traced every record in the virtualfilesystem to do with my events (I believe there is one for the method itself, and one for its corresponding .cs file (e.g. e888.ryth56666.6666.cs). If I delete all of these records and rebuild it works, and gets rid of all of my old .cs files (that shouldnt even be there).

So I was in situation where I had a clean Opp_contact area (I am customising opp_contact properties) with no events either in the database, or in my c# snippet project. So I re-add my onchange event, rebuild and hey presto everything still fine (my new event is there). So now I have the event in the virtualfilesystem table, it is coming out in my c# snippet project BUT it still doesnt show in AA (there are apparently no events events associated with my properties!). I have checked the snippet dll in the bin folder using reflector and my business rule is there, but it doesnt run. I am now into day 3 of a piece of work I had half a day for...!! NOOOOooooooo.....



Cheers!
Nick
[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 © 2024 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): 11/26/2024 11:04:56 AM