• kishna 15
  • NEWBIE
  • 30 Points
  • Member since 2018

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 9
    Replies
I'm doing some trailheads on visual force pages, and in this particular module, you learn that you can use the following code snippet to create accounts. 
 
<apex:outputLink value="{!URLFOR($Action.Account.New)}">
    Create New Account
               
</apex:outputLink>

However, I can't get it to do the same thing for contacts when I replace Account with contact. And I get an error that says "Field$Action.Contact.New does not exist. Check Spelling" 

The code that I have is this: 
 
<apex:pageBlock>
        <apex:pageBlockSection>
            <apex:outputLink value="{!URLFOR($Action.Contact.New)}">
    Create New Contact
</apex:outputLink>
            </apex:pageBlockSection>
         </apex:pageBlock>

The documentation says that the "new method" is compatible with Contacts, I just don't know how to get it to work. 

Thanks, 
How to redirect account record detail page using below code
public PageReference save(string id) {
        System.debug('Entered');
        PageReference nextPage = new PageReference('/'+id+'/view');
        nextPage.setRedirect(true);
        return nextPage;
}

Thanks.........
I have created one visual force page and calling in global action. while clicking global action button I am getting a model dialog box. How to close this popup window automatically in visualforce page

Thanks............
I want to add both internal users and external users in single chatter group
I need to disable create Recurring series of task check box for multiple contacts. is there any profile level settings? one of the profile is working as expected 

Thanks
Hi All,

I have created custom componet which is displaying contact list view but not visible list view related records

Thank you
How to redirect account record detail page using below code
public PageReference save(string id) {
        System.debug('Entered');
        PageReference nextPage = new PageReference('/'+id+'/view');
        nextPage.setRedirect(true);
        return nextPage;
}

Thanks.........
I'm doing some trailheads on visual force pages, and in this particular module, you learn that you can use the following code snippet to create accounts. 
 
<apex:outputLink value="{!URLFOR($Action.Account.New)}">
    Create New Account
               
</apex:outputLink>

However, I can't get it to do the same thing for contacts when I replace Account with contact. And I get an error that says "Field$Action.Contact.New does not exist. Check Spelling" 

The code that I have is this: 
 
<apex:pageBlock>
        <apex:pageBlockSection>
            <apex:outputLink value="{!URLFOR($Action.Contact.New)}">
    Create New Contact
</apex:outputLink>
            </apex:pageBlockSection>
         </apex:pageBlock>

The documentation says that the "new method" is compatible with Contacts, I just don't know how to get it to work. 

Thanks, 
I have created one visual force page and calling in global action. while clicking global action button I am getting a model dialog box. How to close this popup window automatically in visualforce page

Thanks............
Hi All,

I have created custom componet which is displaying contact list view but not visible list view related records

Thank you