11/26/2024 11:26:19 AM
|
|
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!
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.
|
|
|
|
Customizing the Customer Portal
Posted: 12 Oct 07 9:00 AM
|
Is there a way to put the ContactDetails inside the customer portal. I'd like my customers to be able to edit their info online, and i could then view that contact info on the sales portal side.
Can i share an entity on both sides of the portal? the sales and customer sides? or do i need to create a separate contactdetails for the customer portal? |
|
|
|
Re: Customizing the Customer Portal
Posted: 12 Oct 07 10:24 AM
|
Without giving it a go I cant say for sure, but I would have thought that would be fine just using the current contact entity..you would have to create the new page under the customer portal of course.. |
|
|
|
Re: Customizing the Customer Portal
Posted: 12 Oct 07 1:17 PM
|
OK, I killed my setup. In the App Architect, under the Customer portal>Pages, I added a new page and was trying to add the smart part for PortalUser to it and when i hit ok, i got all of this:
===================================
An application exception has occurred.
===================================
Failed to compare two elements in the array. (mscorlib)
------------------------------ Program Location:
at System.Collections.Generic.ArraySortHelper`1.QuickSort[TValue](T[] keys, TValue[] values, Int32 left, Int32 right, IComparer`1 comparer) at System.Collections.Generic.ArraySortHelper`1.Sort[TValue](T[] keys, TValue[] values, Int32 index, Int32 length, IComparer`1 comparer) at System.Collections.Generic.ArraySortHelper`1.Sort(T[] items, Int32 index, Int32 length, IComparer`1 comparer) at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer) at System.Array.Sort[T](T[] array, IComparer`1 comparer) at System.Array.Sort[T](T[] array, Comparison`1 comparison) at Sage.Platform.WebPortal.Design.PortalPageCollection.Sort(PortalPage[] itemArray) at Sage.Platform.Projects.Collections.OrderedModelItemCollection`1.LoadFiles(IFileInfo[] files, PersistentErrorDelegate errorHandler) at Sage.Platform.WebPortal.Design.PortalPageCollection.LoadChildren() at Sage.Platform.WebPortal.Design.PortalApplication.get_Pages() at Sage.Platform.WebPortal.Design.Hierarchy.ChildPagesNode.get_Data() at Sage.Platform.Projects.AdminModule.Controller.HierarchyNodeController.FireNodeDefaultAction(Object sender, NodeEventArgs args) at Sage.Platform.CommonTree.TreeItemController.NodeDoubleClicked(Object sender, NodeEventArgs args) at Sage.Platform.CommonTree.TreeController.OnDoubleClick(Object sender, EventArgs args) at System.Windows.Forms.Control.OnDoubleClick(EventArgs e) at Infragistics.Win.UltraControlBase.OnDoubleClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
===================================
Object reference not set to an instance of an object. (Sage.Platform.WebPortal.Design)
------------------------------ Program Location:
at Sage.Platform.WebPortal.Design.PortalPageCollection.PageCompare(PortalPage pX, PortalPage pY) at System.Array.FunctorComparer`1.Compare(T x, T y) at System.Collections.Generic.ArraySortHelper`1.QuickSort[TValue](T[] keys, TValue[] values, Int32 left, Int32 right, IComparer`1 comparer)
|
|
Now I can't expand the Pages under the Customer Portal and see my pages. Anytime I try, i get the above error. How do i back up from this?
|
|
|
|
Re: Customizing the Customer Portal
Posted: 12 Oct 07 2:21 PM
|
I am gathering that something is wrong with your VFS table. This is just a hunch but the VFS table seems to be the center of the universe for all things web 7.2. Maybe you can see if you have any duplicates on the item path that may be causing this error or nulls or like
SELECT DISTINCT ItemPath, COUNT(ITEMPATH) FROM Sysdba.VIRTUALFILESYSTEM GROUP BY ItemPath HAVING COUNT(ItemPath) > 1
Mark |
|
|
|
Re: Customizing the Customer Portal
Posted: 12 Oct 07 3:52 PM
|
this query did not return any records. so i guess i don't have duplicates. i'm going to dig deeper in my virtualfilesystem table and see what i can find.
any other ideas? |
|
|
|
Re: Customizing the Customer Portal
Posted: 15 Oct 07 3:35 PM
|
OK... Fixed this and wanted to report back so others could learn from my stupidity. Once i started digging around in the VirtualFileSystem table in the database, i isolated the records from the day i screwed it up, cut them out and pasted them into excel as a temp holding spot. I could then navigate the PAGES tree without error. So that was like 30 lines and i was a bit nervous that i'd likely cut out more than was needed. So i pasted it back from excel to SQL and cut out a smaller chunk of the records.... kept doing this until i isolated the one row of data in the database that had caused the problem.
Now i should say that visually looking at that row vs. the other rows, it is still not at all clear what was problematic about this record, however once it was gone, the App Architect would let me browse the pages in the tree.
Go figure.
|
|
|
|
Re: Customizing the Customer Portal
Posted: 15 Oct 07 5:25 PM
|
I've run into this sort of problem a time or two. This is why I always work with an exported VFS, it makes it easier to directly manipulate the VFS. |
|
|
|
Re: Customizing the Customer Portal
Posted: 16 Oct 07 7:09 AM
|
Assumption is that the record that you had found to be problematic had an invalid page pointer for some reason. I am glad to see you found the issue.
Mark |
|
|
|
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!
|
|
|
|
|
|
|
|