10

Hey looking into your question this is the solution for you. You need to use AttachedContentDocuments <apex:page standardController="Account"> <apex:relatedList subject="{!Account.Id}" list="AttachedContentDocuments" /> </apex:page>


8

You can do something like this with standard functionality. It doesn't fit your requirement perfectly, but may work. Create a roll-up summary field that counts the number of detail records. Create a validation rule that prevents the user from changing the opportunity stage until the number of detail records is greater than 0. This lets you create the ...


7

You named the Related List Label "Supplier Relations Escalation", so that is what it is called on the Page Layout. You can see it on the far right of your options.


7

I think you can achieve it by doing following : Create two lookup of Account object (Parent object) on Contact (Child Object) On child object you can make these lookup visible based on record types. These two lookups on Contact object will show two related lists on Account object. I hope with this you would be able to achieve two related list with out of ...


7

Currently you cannot view more than 4 columns in lightning related view. There is a idea currently and status shows as Currently in development. Hopefully it should be available soon. Idea link You can select which columns you would like to see in related list from page layouts. Goto: Setup->Object Manager-> Select the object-> page layouts -> Edit the ...


7

You can change the Related List Label by modifying the Related List Label field on the field that references the parent object. In your case, if you go to the object CaseBugJunctionObject, edit the field that references the Case object, you can change the Related List Label. Note that this label must be the same for all layouts that this Related List is ...


7

There's three options available that I know of. Use an existing, third party Lightning component that provides filtered related list functionality, such as this one from Salesforce Labs. (Disclaimer: not my component, and I haven't used it personally). Write your own Lightning component that filters the related list appropriately. Use a solution like Doug ...


6

This is a many to many object model which will utilize a 'junction object'. Employing a pair of lookups defined on the junction object with a structure that looks like this: Author (Contact) <-- lookup Paper_Author__c lookup --> Paper__c This model supports an Author on many Papers as well as a Paper having many Authors. It also will give you the ...


6

Parent objects can't look 'down' to child objects in that way for Lookup relations. You can look 'up' to a parent (from the Child), but not down to the child (from the Parent). In fact, if you go to create such a formula, you wouldn't even see the relation to the child object. You can look down to children when the relationship is Master/Detail, but only ...


6

Content of <apex:relatedList> will match what your user would see for same record on standard page layout. So your best choice is to configure the list on page layout. Remember that if you still don't see the fields you expect, the standard caveats apply: do you have rights to read on the fields from the related list? if the fields are lookups - do ...


6

You can get the API Name of the child relationship as follows via Execute Anonymous: for (ChildRelationship relationship : SObjectType.Request__c.getChildRelationships()) if (relationship.getChildSObject() == Matter__c.sObjectType) system.debug(relationship.getRelationshipName()); Copy this value verbatim and replace Matters__r.


6

This is one of the most confusing aspects of relationship queries in SOQL. The FROM clause in your subquery does not specify the name of the child object. It specifies the name of the relationship, which is configured as part of the lookup or master-detail field on the child object and may or may not look like the child object's actual API name. You can look ...


5

I can replicate the same thing that you are observing. I have a "workaround". I was able to reverse engineer the Go to List >> links on the related list when there are more than the default number in the list (more than 5 for me) on the page. I built the following URL: https://na15.salesforce.com/007?id=00Qi0000002djnG&rlid=RelatedHistoryList&...


5

For notes and attachment use following name in tag:- <apex:relatedList subject="{!account}" list="NotesAndAttachments" /> For Activity History: <apex:relatedList subject="{!customObject__c}" list="ActivityHistories" /> For native object History Ex: Opportunity: <apex:relatedlist list="OpportunityHistories" title="Opp History"/>


5

Since the lookup is from Partner to Contact, you'll see only fields on the "child" side of the relationship. If you go to Setup > Customize > Contacts > Page Layouts, you can add both related lists (Billing Partners and Business Partners, or whatever you called them) to your contacts' related list section. From your example, Y.Foreign_Key = X.Primary_Key, Y....


5

You may consider trying this: <apex:relatedlist list="ChildObject__r" title="Child Records" rendered="{!$ObjectType.ChildObject__c.accessible}"/> This would check if the loggedIn user has access on this object. Let me know if this works. Note : Here ChildObject__c is the API name of object.


5

The reason for this issue is that the relatedList is not named "Campaign Histories" Use: <apex:relatedList list="CampaignMembers"/> apex:relatedList list= values have to be valid relationship names taken from the schema. The friendly name as shown to the user is confusingly only tangentially related to the real relationship name.


5

Not all standard components are available in Community Builder as available in App Builder. It also depends on the type of page you are creating. Refer to below excerpt from the documentation: The Components panel lists only components that are compatible with the selected page. For example, you can’t add the User Profile Detail component to the Home page....


5

Currently, no. That @wire adapter does not allow relative parent (flexipage record Id). On the roadmap (no ETA) is the lightning:relatedList base component, so whenever that is released we might be also supplied the corresponding @wire adapter for custom use. See it near the bottom here: https://help.salesforce.com/apex/HTViewHelpDoc?id=...


4

What you are talking about is a "many-to-many" relationship. Each student can do multiple sports, and each sport can be done by multiple students. The most natural way to implement this in Salesforce is through a junction object. http://help.salesforce.com/HTViewHelpDoc?id=relationships_manytomany.htm&language=en_US This will allow you to see the ...


4

In this scenario, rather than creating some custom code to do that, have you considered just setting a Sort Order on the Status field to group all of your Active Contacts at the top of your related list and push your Terminated Contacts to the bottom of the list. On your page layout, there is a way to set your Sort By field for your related list. This ...


4

You can have as many custom objects as you want, you just can't reference them in your workflow, formula fields and validation rules during the same execution context by spanning more than 10 objects. As an aside, there's a similar limit of 10 when it comes to namespaces. According to the documentation there is a maximum number of 10 object references on ...


4

Something has simple has this could work: <apex:page standardController="Opportunity" showHeader="false" renderAs="pdf"> <apex:pageblocktable value="{!Opportunity.bucketRate__r}" var="b" title="Bucket Rate Factoring Fee" > <apex:column value={!b.levelname__c} /> <apex:column value={!b.lowdays__c} /> <apex:...


4

Solved the problem. The so called "RelatedListId" is the Id of the custom field of the Master-Detail relationship on the detail object. We were able to query this Id with the tooling-api described by Andrew Fawcett. http://andyinthecloud.com/2014/01/05/querying-custom-object-and-field-ids-via-tooling-api/ After implementing the Tooling API Class and ...


4

Currently its not possible to sort open activites.Here is the idea https://success.salesforce.com/ideaview?id=08730000000BqX6AAK Workaround : Create a list button on Task with URL value as /007?id={!Account.Id}&rlid=RelatedActivityList Add the button to Open Activities Related list of Account Pagelayout.Then on Click of button it will open new page ...


4

Related lists are lists of records that are directly related to another record. They are created automatically when a lookup field is created on an object, and there are many standard related lists, as well. For example, an account may have many contacts related to it. The account is called the parent record, and the contacts are referred to as children. The ...


4

You forgot the Position p object in your loop. Try : List<Position__c> Positions = [SELECT Name, Department__c, Job_Matching_Title__r.Name, Job_Matching_Title__r.Salary_Range_Avg__c FROM Position__c WHERE Department__c = :StringDepartmentID]; for (Position__c p :Positions){ system.debug('Average Salary: ' + p.Job_Matching_Title__r....


4

You would need to go and edit the page layout for the object you want to do this for. Find the Open Activities and Activity History related lists. Click on the Wrench Icon, and go to the Buttons section. There are checkboxes for all the buttons. Just uncheck the buttons you do not want to show. EDIT Thanks to @BarCotter, you also need to update the ...


4

Yes, you can, but you will have to use Visualforce. Here's an example of how to override the header: <apex:page standardController="account"> <apex:relatedList list="notesandattachments"> <apex:facet name="header"> <apex:outputPanel> <apex:outputText value="My Notes"></apex:outputText> <apex:...


4

The only way to do this is with a trigger that does the concatenation when the child record is inserted, updated, or deleted. This is a very costly trigger to write and you should proceed with caution taking into account the number of records you may be dealing with. As far as I'm aware there is no "point-and-click" solution to this.


Only top voted, non community-wiki answers of a minimum length are eligible