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: Allow user to change password in Client Portal
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Allow user to change password in Client PortalYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Allow user to change password in Client PortalYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[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:56:38 PM