• Srini Giridhar
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 4
    Replies
I have created a VF page similar to standard Task page. However, I am unable to display attachments section in related list.

here is what I am doing in the apex page.
....
....
</apex:form>
<apex:pageBlock >
                <apex:pageblockSection title="Notes and Attachments" id="tabNoteAtt">
               <apex:relatedList list="Attachments" subject="{!task}"/>
</apex:pageblockSection>
</apex:pageBlock>

</apex:page>


Am I missing something? I appreciate your help.
Hi All,

I have created a VF page on the standard Task object. 

<apex:page tabStyle="Task" id="page1" standardController="task" extensions="CurrentTask" standardStylesheets="false"> 

I am using an extension class to customize the default behavior.

The issue I am having is, I am unable to show Attachments section just like the standard page does. I am using the following code to list the related list:

.....
.....
</apex:pageBlock>

</apex:form> 

<apex:pageBlock>
    <apex:pageblockSection title="Notes and Attachments" id="tabNoteAtt">
        <apex:relatedList subject="{!task}" list="CombinedAttachments"/>
    </apex:pageblockSection>
</apex:pageBlock>   

</apex:page>

am I doing anything wrong? I appreciate your help.

-Srini
Hi All,
I have a native iOS app that is trying to update the task. I am getting the following error response from the salesforce web when trying to sync the changes:

 errorRecords =     (
                {
            errors =             (
                                {
                    errorfields = "()";
                    message = "insufficient access rights on object id";
                    statusCode = "INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY";
                }
            );

I verified and the user (partner user) profile has access to Task object and all the fields within the task.
Am I missing anything?

Srini
I have a partner community and have added Partner community users to it.
Accounts is set to private and I have one sharing rule that shares accounts with All Internal Users.
When I login with a partner user, I can see all accounts. my expectation was partner should not be able to see any account not created by him.

am I missing something?

Please help me.
Hi All,

I have created a VF page to display list of Accounts based on a criteria.
Now, I want each of the account displayed to be a link to standard Account detail page.

Can someone help me how I can achieve this? 

Thanks,
Srini

The goal is to have local Azure B2C accounts signing into our Salesforce domains. 

1) When I configure Salesforce to use our B2C tenant endpoing URLs without a policy query string, it only works for my B2C administrator account.  All other accounts fail to authenticate to B2C, with error:
Message: AADSTS50020: User account 'MyName@domain.com' from identity provider 'domain.com' does not exist in tenant 'My Company Name' and cannot access the application 'MyApp' in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

2) When I configure SalesForce to use our B2C policy endpoint URLs, those users can authenticate to B2C but when they are redirected to Salesforce, Salesforce gives an error that an access token was not received.

I have uploaded two PDFs (one showing nopolicy config, the other showing the policy config) here.  Hoping someone can help!
I have created a VF page similar to standard Task page. However, I am unable to display attachments section in related list.

here is what I am doing in the apex page.
....
....
</apex:form>
<apex:pageBlock >
                <apex:pageblockSection title="Notes and Attachments" id="tabNoteAtt">
               <apex:relatedList list="Attachments" subject="{!task}"/>
</apex:pageblockSection>
</apex:pageBlock>

</apex:page>


Am I missing something? I appreciate your help.
Hi All,

I have created a VF page to display list of Accounts based on a criteria.
Now, I want each of the account displayed to be a link to standard Account detail page.

Can someone help me how I can achieve this? 

Thanks,
Srini