2/22/2025 3:01:28 PM
|
|
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.
|
|
|
|
Allow user to change password in Client Portal
Posted: 19 Apr 08 11:43 AM
|
I am trying to recreate the web access tab under Contacts from the SLXClient version of the web in the Customer Portal. I took the smart part and moved it to an external location and brought into the customer portal as a support file. I tried running as a tab off the ticket detail screen and also in it's own Contact entity page. The existing bindings don’t seem to take: protected override void OnAddEntityBindings() { this.BindingSource.AddBindingProvider(txtWebUserName as Sage.Platform.EntityBinding.IEntityBindingProvider); this.BindingSource.Bindings.Add(new Sage.Platform.EntityBinding.PropertyBinding("WebUserName", txtWebUserName, "Text")); this.BindingSource.AddBindingProvider(txtWebPasswordHint as Sage.Platform.EntityBinding.IEntityBindingProvider); this.BindingSource.Bindings.Add(new Sage.Platform.EntityBinding.PropertyBinding("WebPasswordHint", txtWebPasswordHint, "Text"));
}
Also I get an error on the object passthru line when trying to save – {“An exception occured execution the dynamic method Contact.SaveWebAccess."}: protected void Save_ClickAction(object sender, EventArgs e) { object[] objarray = new object[] { this.BindingSource.Current, (Boolean)chkWebAccess.Checked, txtNewPassword.Text, txtRepeatNewPassword.Text }; >>>>ERROR>>>> object passthru = Sage.Platform.EntityFactory.Execute("Contact.SaveWebAccess", objarray); if (passthru != null) { Sage.Platform.WebPortal.SmartParts.WebActionEventArgs args = new Sage.Platform.WebPortal.SmartParts.WebActionEventArgs(passthru); Save_ClickActionBRC(sender, args); } else { Save_ClickActionBRC(sender, e); } }
Is what I am trying to do possible? Thanks
|
|
|
|
Re: Allow user to change password in Client Portal
Posted: 22 Apr 08 8:50 AM
|
Ok, taking a step back.. I am trying to create a page that will allow the logged in user of the portal change his contact info including address info. I tried creating a smartpart and entity page to house it both based on the contact entity. In this case, the page loads but the smart part doesn't seem to show up.
I also tried creating as ticket based smartpart and running off a tab on the ticket detail screen. This seems to work and update data, except I can't pull address information in.
I would like to eventually run the page from it's own page as a My Profile type of thing. What is my best bet to the basic page set up and saving data within the AA? Once I get this working I would also like to allow the user to change his webportal login and password. |
|
|
|
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!
|
|
|
|
|
|
|
|