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!
 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: New Page for Entity
Rohan Verghese
Posts: 40
 
New Page for EntityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Apr 08 4:07 PM
I've started working with the Web Client and I am having a hard time figuring out how to make a page for an entity (like the account page for accounts). I apologize if this is very basic. This is what I am doing. I would be very grateful if someone could point out where I am going wrong.

1. I have a table "REM_Building".
2. I made an entity based on that table called "Building".
3. I made a SmartPart for the entity, with a couple fields, which I called "Building Details".
4. I made a Main View based on the Building entity using "Building" as an alias, and added the Building Details Smart Part to it.

Now, this is kind of working. I can make a Group and show a list of all the buildings. However, I'm trying to see the details of one building. In the group, if I enable the "Entity Linked" property of a field, the hyperlink points to a "REM_BUILDING.aspx" page, which doesn't exist.

How would I get the link to point to the page and see the Building Details SmartPart for a single Building?
[Reply][Quote]
Jason Huber
Posts: 77
 
Re: New Page for EntityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Apr 08 8:54 PM
I just worked with another partner on this and I havent researched it much, but it seems that when the field is entity linked it expects the target page to be the name of the entity/table.aspx. It uses that assumption to then build the link as entityname.aspx?entityid=AS00000000XY .
So what I do is just always name the mainview the same as the entity and I always name the entity the same as the table.

Perhaps someone else on here has actually found where to change the page the entity gets linked to, but from my experience and limited research (none) it either entity linked OR you can choose a URL - which is your other option.
[Reply][Quote]
Rohan Verghese
Posts: 40
 
Re: New Page for EntityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 08 3:25 PM
Hmm...okay, I changed my entity names to match the table names. Now I'm getting:

"Sage.Platform.Repository.RepositoryException: Mapped NHibernate type not found"

Any idea what this means?
[Reply][Quote]
Jason Huber
Posts: 77
 
Re: New Page for EntityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 08 5:06 PM
Delete the entity and recreate it with the same name as the table.
[Reply][Quote]
Rohan Verghese
Posts: 40
 
Re: New Page for EntityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 08 5:56 PM
I've done that, and I get the same error. I've also tried with the Saleslogix Lead table, and I get the same results.

I think I'm missing a step or doing something wrong initially.
[Reply][Quote]
Rohan Verghese
Posts: 40
 
Re: New Page for EntityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 08 11:42 AM
I figured it out! I had made a new package for my entities, and I guess the page wasn't looking in that package. When I added my entities to the standard package, everything worked.

Now, if I could just figure out why groups use the database tables instead of entities. Seems to defeat the whole point of having an Object-Relational Mapping.
[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:19:07 PM