-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
5Questions
-
3Replies
Marketing Cloud import Blog and create domain Url.
Hello Everyone
how to change domain Url name in Marketing Cloud . and how to Import blog in Marketing Cloud.
- Ankit Sharma 183
- November 27, 2019
- Like
- 0
- Continue reading or reply
linkdlin api integration create contact in salesforce.
- Ankit Sharma 183
- November 07, 2019
- Like
- 0
- Continue reading or reply
How can i Load Fast my Vf page?
i have Vf page. There show many of Images. Page will load slow it will time when Loding.
how i Load my vf page fast.
- Ankit Sharma 183
- October 24, 2019
- Like
- 0
- Continue reading or reply
change url name
hi
my vf page name /artistportfoliounbranded. when i open this page in url it will change and show my static page name like /ankit.
it can possible please suggest me.
- Ankit Sharma 183
- October 10, 2019
- Like
- 0
- Continue reading or reply
i will create a community and domain. after create apex class page of register page it will not register and it will return null value
* An apex class that creates a portal user
*/
public class SiteRegisterController {
// PORTAL_ACCOUNT_ID is the account on which the contact will be created on and then enabled as a portal user.
// you need to add the account owner into the role hierarchy before this will work - please see Customer Portal Setup help for more information.
public SiteRegisterController () {
}
public String firstname {set;get;}
public String lastname {set;get;}
public String username {get; set;}
public String email {get; set;}
public String userType {set;get;}
public String password {get; set; }
public String confirmPassword {get; set; }
public String communityNickname {set;get; }
public string salesteamprofile = '00e6F000002KX0M';
public string operationteamprofile = '00e6F000002KX0g';
public string accountteamprofile = '00e6F000002KX0R';
private boolean isValidPassword() {
return password == confirmPassword;
}
public PageReference registerUser() {
// it's okay if password is null - we'll send the user a random password in that case
if (!isValidPassword()) {
ApexPages.Message msg = new ApexPages.Message(ApexPages.Severity.ERROR, Label.site.passwords_dont_match);
ApexPages.addMessage(msg);
return null;
}
User u = new User();
u.FirstName = firstname;
u.LastName = lastname;
u.Username = email;
u.Email=email;
u.UserType__c=userType;
if(email.length()> 30)
{
u.CommunityNickname=email.substring(0,30);
}
else
{
u.CommunityNickname=email;
}
if(usertype=='SalesTeam')
{
u.ProfileId=salesteamprofile;
}
else if(userType == 'AccountTeam')
{
U.ProfileId = accountTeamprofile;
}
else
{
u.ProfileId = operationteamprofile;
}
// lastName is a required field on user, but if it isn't specified, we'll default it to the username
String userId = Site.createPortalUser(u, '0016F00002SeAmS' , password);
if (userId != null) {
if (password != null && password.length() > 1) {
String returl = '';
if(usertype == '')
{
returl ='/salesteam';
}
else if(usertype == 'operationUser')
{
returl ='/operationteam';
}
else
{
returl ='/accountteam';
}
return Site.login(username, password, returl);
}
else {
PageReference page = System.Page.SiteRegisterConfirm;
page.setRedirect(true);
return page;
}
}
return null;
}
}
- Ankit Sharma 183
- September 04, 2018
- Like
- 0
- Continue reading or reply
change url name
hi
my vf page name /artistportfoliounbranded. when i open this page in url it will change and show my static page name like /ankit.
it can possible please suggest me.
- Ankit Sharma 183
- October 10, 2019
- Like
- 0
- Continue reading or reply
Lightning component not available for lightning tab
I just created a Lightning component with the 'implements="force:appHostable"' attribute in the aura:component tag.
I have changed My Domain already.
But when I go to lightning tabs, when selecting the lightning component always shows "-none-" and nothing else...
Am I missing something?
- Dixit
- November 07, 2016
- Like
- 0
- Continue reading or reply
Apply EDIT/DELETE link to each record in pagetable.
Hi,
I wants to give EDIT/DELETE link to each record in pagetable. How can I do that?
I have tried it with picklist, like I took picklist to select the record and after selection value, applied the edit or delete button.
Thank you.
Amol Dixit
- Amol Dixit
- April 27, 2012
- Like
- 0
- Continue reading or reply