Forum Replies Created

Viewing 1 - 10 of 10 posts
  • Ratan Paul

    Member
    November 2, 2017 at 6:26 am

    can you check the what is the OWD ? may be issue with this?

  • Ratan Paul

    Member
    October 6, 2016 at 11:17 am

    there is a post in idea exchange https://success.salesforce.com/ideaview?id=08730000000I5NsAAK

  • Ratan Paul

    Member
    October 6, 2016 at 10:49 am

    So you need to use chatter api.

    check this https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/connectapi_examples_post_feed_element_mention.htm

    ConnectApi.FeedItemInput feedItemInput = new ConnectApi.FeedItemInput();
    ConnectApi.MentionSegmentInput mentionSegmentInput = new ConnectApi.MentionSegmentInput();
    ConnectApi.MessageBodyInput messageBodyInput = new ConnectApi.MessageBodyInput();
    ConnectApi.TextSegmentInput textSegmentInput = new ConnectApi.TextSegmentInput();

    messageBodyInput.messageSegments = new List<ConnectApi.MessageSegmentInput>();

    mentionSegmentInput.id = '005RR000000Dme9';
    messageBodyInput.messageSegments.add(mentionSegmentInput);

    textSegmentInput.text = 'Could you take a look?';
    messageBodyInput.messageSegments.add(textSegmentInput);

    feedItemInput.body = messageBodyInput;
    feedItemInput.feedElementType = ConnectApi.FeedElementType.FeedItem;
    feedItemInput.subjectId = '0F9RR0000004CPw';

    ConnectApi.FeedElement feedElement = ConnectApi.ChatterFeeds.postFeedElement(Network.getNetworkId(), feedItemInput, null);

  • Ratan Paul

    Member
    October 6, 2016 at 10:30 am

    you can use webservice to send email. onclick of javascipt button call a apex class and send the email to related contacts

    check this example for more info https://developer.salesforce.com/docs/atlas.en-us.workbook.meta/workbook/button_1.htm

  • Ratan Paul

    Member
    October 6, 2016 at 10:20 am

    if you don't want to use describe call etc then you can use eclipse to view all the fields name

    And for all standard objects you can check the soap api documentation  https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_acceptedeventrelation.htm

  • Ratan Paul

    Member
    October 6, 2016 at 9:31 am

    if you are looking for feature like sql select * from table_name then I say no. In salesforce there is no feature like that. And if you want to create a utility class where you can pass the object name and get the all field and prepare soql query with all fields then solution is use decribe call to get the all fields name.

     

    SObjectType accountType = Schema.getGlobalDescribe().get('Account');
    Map<String,Schema.SObjectField> mfields = accountType.getDescribe().fields.getMap();

  • Ratan Paul

    Member
    October 6, 2016 at 9:27 am

    if this is the standard page then you can't do it. You can populate those field using workflow rules or process builder . based on contact value get the all details and update the record.

  • Ratan Paul

    Member
    October 6, 2016 at 9:25 am

    This is really broad question. I suggest to check this example

    https://developer.salesforce.com/page/Wrapper_Class

  • Ratan Paul

    Member
    October 6, 2016 at 9:22 am

    I suggest to use apex:inputcheckbox . Using this component you can bind the value easily

     

     

    https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_inputCheckbox.htm

  • Ratan Paul

    Member
    September 26, 2016 at 10:49 am
Viewing 1 - 10 of 10 posts