Skip to main content

Hi @Denny Chandra is there a function to export the related list into a CSV document? I need to create a button which I'm planning to add on the wrapper that I've implemented but I would like to know if there's already a function I could reference to get the generated query or would I have to create my own code to generate the same query?

 

#Data Management

 

@CMTD

3 Antworten
  1. Coby Press (Black Cloud) Forum Ambassador
    16. Apr., 16:25

    Made this video explaining out of the box alternative - https://youtu.be/mRycLGoITf0

0/9000
1 Antwort
0/9000

Does anyone has the source code for this? Because I need to do few modifications to make it work for my need. It would be much appreciated if anyone can route to me github source repository for this "CMTD Enhanced Related List". Many thanks in advance.

1 Antwort
  1. 21. Okt. 2025, 13:30

    Hi @Vijayakumar Kenchugundu

     

    This is a managed package, which means the source code is protected and you won’t be able to modify or update it directly. 

     

    If it were an unmanaged package, you would have full access to the code and could make any necessary changes. 

     

    If this helped, please mark it as the Best Answer so others can find it too.

0/9000

Is there any possibility in CMTD Enhanced List to wrap the long texts in multiple lines primarily for long Text Area 

2 Antworten
0/9000

Hi all, 

 

I just installed the CMTD item in dev and I am having difficulties setting it up. 

What I am trying to do is show related Locations on an account. 

I set up the Enhanced Related List in the custom metadata as I thought it should be, but it is still giving me an error. Does anyone know how to solve this please? 

 

The Account ID on Location is stored (extra) in this field; Parent_Account_ID__c 

 

I appreceate the help! 

 

With kind regards, Gea 

 

Error invalid conversion from runtime type System.Location to SObjectSchermafbeelding 2025-08-26 104410.pngSchermafbeelding 2025-08-26 104436.pngSchermafbeelding 2025-08-26 104945.png

5 Antworten
  1. Sushil Kumar (UKG) Forum Ambassador
    28. Aug. 2025, 18:09

    @Gea Vermeer-Visscher Yeah thats what i was suggesting. It seems the package is doing dynamic initialization of the object. Since SF has standard class name with same name, its not able to distinguish. This can be package limitation for this specific object if its not working as suggested in the article. 

0/9000

I have users in the permission set whose Production tab is not opening. All components in the Production tab belong to the custom component "CMTD Enhanced Related List." doed any one know how i can give them access to see the production tab .

1 Antwort
  1. 26. Juni 2025, 10:34

    HI @Yusra Elmahboub

     

     

     

    If users can't open the Production tab, and it's using the CMTD Enhanced Related List component, here are a few things you can check to resolve the issue:

    1. Tab Access in Permission Set 

      Make sure the Production tab is visible in the users’ permission set or profile. If it’s a custom tab, set it to

      “Default On”..
    2. Object & Field Permissions 

      The component may be referencing objects and fields. If users don't have at least

      read access to those objects/fields, the tab may not load properly.
    3. Component Access (if custom or packaged) 

      If the component is from a managed package, ensure that users have access to any Apex classes or Visualforce pages it uses. If it’s a custom-built LWC, make sure there aren’t Apex controller-level permission restrictions affecting visibility.

    4. Lightning Record Page Assignment 

      If the tab is part of a Lightning page (like a custom object or record page), verify that the Lightning page assignment includes the correct profiles, apps, or record types for those users.

    5. Component Visibility Filters 

      Check if any component visibility filters are applied that could be hiding the tab or section based on profile, permission, or record data.

    If users still face issues, try checking the browser console for errors or setting up a debug log when the tab fails to load.

    Let us know if you can share more details like the error message or tab setup. Also, 

     

    Hope this helps! 

     Also, if you find this content helpful please mark it as the best answer. 

0/9000

I am trying to query this object Benefit Schedule Assignment but it throws an error 'Invalid Object API Name 'BenefitScheduleAssignment' 

 

This object exists in API v59. From what API version does CMTD Enhancement Related List supports?

0/9000

@Denny Chandra

I see there have been a few posts in the past about showing all tasks or events when using the related list for tasks or events. I just tried to use this for a project and ran into this same issue.  

 

With the dynamic related lists standard component, I imagine this component is getting less use. But there's still one area where dynamic related lists don't work - activities.  

 

So I tried to create a related list with this but realized that archived activities are not displaying. Tasks and events over a year old don't show up unless the query specifies "ALL ROWS." The query for this component does not include this by default.  

 

Since ALL ROWS also shows deleted records, to get this to work like the other activity related lists, you would need to add IsDeleted = False to the WHERE clause and ALL ROWS to the end of the query. This could either be done automatically for related lists on Tasks and Events or have a component property that users could check a box to "Display Archived Tasks or Events."  

 

If the code is somewhere online, happy to open a pull request with this change. Otherwise I'll probably just create a custom component for this scenario. 

3 Antworten
  1. 17. Juni 2025, 01:41

    Hi Paul,

    I think you can probably log a case with salesforce.

    They might have some other suggestion along with changing auto archival time period.

    Thanks

0/9000

Hi, 

I have two users with identical profile, role and permissions; however, one user is able to see the Name field on the CMTD enhanced related list, while the other user cannot view it. Both users have the same access rights to the field, so this inconsistency is unexpected. Any insights or suggestions on what might be causing this discrepancy would be appreciated. 

Name field not displaying as expected on CMTD list

 

 

2 Antworten
  1. 13. Juni 2025, 01:48

     Hi @Alessio Ilari ,  

    Thank you for your input. That said , as shown in the screenshot, while the "Name" column header is visible to the user, the corresponding values in that column are not displayed.  

     Do you have any thoughts on what might be causing this? 

0/9000

Hello Team,  

I'm working on creating a CMTD on Account Plans so we can show all the Account/Contact Relationships that exists for the Account that the plan is for. Based on Documentation I tried to take the AccountId since I don't want to pass the Id for Account Plan, but this just showed an error. Does anyone know how I can add the CMTD on the AccountPlan Page and Pass the Account ID so that I can use this to pull in the data I need? Thanks! These are what I have tried.  

Parent Id = Id and AccountId 

Object API Name = Account_Contact_Relationship__c 

Parent Field in Child Object = Account__c (this is the account look field on the Account Contact Relationship object used in the Object API)

1 Antwort
  1. 24. Mai 2025, 15:30

    1. Understand what Parent Id means in your component

    • If the component expects a record Id of the current page’s object (AccountPlan), that’s usually what you should pass.
    • You cannot pass a different record Id (like the Account Id) unless the component supports it.

    2. Use Custom Lookup or Custom Filter in the component to use AccountId from AccountPlan 

     

    Use a Related List - Single component with a lookup : If your Account Plan has a lookup to Account (AccountId), you cannot directly filter child records on AccountContactRelationship Account__c with the AccountId from Account Plan — out of the box related list won’t support cross-object filter.

    Instead, you can add a related list for AccountContactRelationship on the Account record page or create a custom related list component.

0/9000