Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 7, 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: Entity Linked Column only working for a few rows
Remy
Posts: 42
 
Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Jul 13 1:10 PM
fiogf49gjkf0d

In Opportunities, I have a simple group, that has several Contact columns that are set to Entity Linked. The field displaying is the Name. But only a few of them are clickable/blue. I checked the database and the CONTACTID for the Entitiy's field is the same for all of them. Any ideas what could be causing this inconsistency?

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Jul 13 6:23 PM

Do the last name, first name have values in the actual contact? maybe a SecCodeID issue (different value for the contact and the opportunity)?

[Reply][Quote]
Remy
Posts: 42
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 13 12:33 PM

Last and first name do have values in the CONTACT record. SECCODEID is the same for all.


Looking at the Query Builder I see my 3 Contact joins:


+Contact(sales_consultant_id->contactid) [left]
+Contact(internal_broker_id->contactid) [left]
+Contact(primary_broker_id->contactid) [left] 


Only when an Opportunity has a ContactId in the sales_consultant_id field, do the links show up in the Group/list. And in these cases, the links will all go to the sales_consultant_id Contact record.


Back in the query builder when I open up the Query Layout and edit the columns, I see that all have the same Field Name (Opportunity.Contact.Name) which cannot be edited. The entity is of course Contact but the Property names are different. But the primary_broker_id property is actually called "Contact". Whereas the others are "Consultant", and "IntBroker". Not sure if this has anything do with it.


 

[Reply][Quote]
Remy
Posts: 42
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 13 1:47 PM

Ok so after deleting all 3 joins in the Gloabal Join manager, re-creating 2 of the Contact joins, Re-generating the XML Schema, and Restarting IIS, I managed to get the 2 columns to show hyperlinks. However, they are both pointing to the same contact. Still showing the correct names, just not linking to the right contact.

[Reply][Quote]
Remy
Posts: 42
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 13 2:09 PM

Oh and those columns don't sort Frown

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Jul 13 6:14 AM

Do you have Web Relationships for all three of these joins? Not Global Joins, not viewable in the Query Builder, but actual Relationships?

[Reply][Quote]
Remy
Posts: 42
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 7:51 AM

Yes, real web relationships exist. However, after inspecting the relationships, I noticed something odd. 2 of the Contact relationships are 1:M with Opportunity, and the other is M:1. (2 having Contact as the Parent, and 1 having Contact as the Child) Have no idea why they used a M:1 relationship. Functionality is the same for all of them as far as using the properites in code but could this be causing the issue with the Entity links? And if so, what is the best way to go about converting it to a 1:M? Thanks!

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 8:26 AM

I usually delete 'bad' relationships and start over....always from the Parent table.....

[Reply][Quote]
Remy
Posts: 42
 
Re: Entity Linked Column only working for a few rowsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 11:18 AM

Removed all bad relationships, removed the group, removed the global joins, and re-created all and still having the issue. Although I figured out why sorting wasn't working (can't sort on a calculated field). It just doesn't want to use the web relationship property names and instead links all contact columns to whichever contactid is the right-most in the layout.

[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/7/2025 6:29:15 PM