• Jaap van der Molen
  • 5 Points
  • Member since 2020

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 3
Hi All,

we want to share files with our customers through Content Deliveries with Public Urls. I have the code in place to generate the Url and share it with the customers. 

We don't want the customer to notice that this is offered via Salesforce, so we created our own domain and added it via Setup -> Domains to hide the Salesforce part of the URL. This works.

Now the problem we have is that when viewing the Content Delivery, it shows the Salesforce favicon and title in the browser. We want to show our own businesses favicon and title there.

Does anyone have any idea how to tackle this?

We tried using a 'Site', by creating the site and a 'Custom URL' to combine the site and the domain. But whatever I try, I keep landing on the 'Authorization required' page. Even though the url leads to a publicly accessible file.

We also tried creating a custom URL with a community, this also brings us to a login page.

We also tried a publicly accessible community, but this doesn't have accesss to the public url... 

We want to keep using content deliveries because:
1. The URL needs to expire (contains sensitive data)
2. We want to track views and downloads
3. We want to use the password feature

I'm all out of ideas, so any input is welcome!
Hi there,

I am trying to add a "Related Record List" Component in my Community on my custom object (called Payment Profiles) details page. I want to display a related list from the related look-up field. In this case, the related field is "Counterpart__c" The component requires "Parent Record ID" and the Related List Name.
"Related Record List" Component
I've tried:

Granted I haven't published and tested each of these options, I am just relying on the preview in the community builder which says "This component has no data". Can you let me know what the syntax was for determining the ID of a parent record?

I am tring to load the child records with aura iterate. The records are loading from soql statement and the parent records are displayed; however, the child records will not load. It is a self-lookup relation with the object.
<section >
            <div >
        <div class="slds-modal__content slds-p-around_medium" >
            <lightning:accordion allowMultipleSectionsOpen="true" >   
            <table class="slds-table slds-table--bordered slds-table--striped slds-table--cell-buffer ">
        <div aura:id="conEditForm">
            <tr class="slds-text-heading--small"> 
                <th scope="col"><span class="slds-truncate">Name</span></th>
                <th scope="col"><span class="slds-truncate">Location Name</span></th>
                <th scope="col"><span class="slds-truncate">Login</span></th>
                <th scope="col"><span class="slds-truncate">Password</span></th>
                <th scope="col"><span class="slds-truncate" style="width:75px">Portal URL</span></th>
                <th scope="col"><span class="slds-truncate">Active</span></th>
                <th scope="col"><span class="slds-truncate">Monitored</span></th> 
                <th scope="col"><span class="slds-truncate">Online Access</span></th> 
                <th scope="col"><span class="slds-truncate">Last Download</span></th>
                <th scope="col"><span class="slds-truncate">Action</span></th>
                <th scope="col"><span class="slds-truncate">Record</span></th>
        <tbody >
            <aura:iteration items="{!v.data}" var="vend" indexVar="rowIndex">
                    <th scope="row" data-index="{!rowIndex}" onclick="{!c.toggle}" role="gridcell">
                        <lightning:accordionSection label="{!vend.Name}" /></th>  
                    <td><ui:outputText value="{!vend.Location_Name__c}"/></td>                    
                    <td><ui:outputText value="{!vend.Login__c}"/></td>                
                    <td><ui:outputText value="{!vend.Password__c}"/></td>
                    <td><ui:outputText value="{!vend.Portal_URL__c}"/> </td>  
                    <td><ui:outputCheckbox value="{!vend.Active_Account__c}"/></td>
                    <td><ui:outputCheckbox value="{!vend.X180_Monitored__c}"/></td>
                    <td><ui:outputCheckbox value="{!vend.Online_Access__c}"/></td>
                    <td><ui:outputDate value="{!vend.Last_Download__c}"/></td>
                    <td><button type="button" onclick="{!c.handleRowAction}" class="slds-button slds-button--neutral slds-float_center"  id="{!vend.Id}">Add Child</button></td>
                    <td><a href="{!'/one/one.app?#/sObject/'+ vend.Id + '/view'}"><ui:outputText value="Record Detail"/> </a></td>
                <!--Expanded section to display the child vendor invoices -->
                                           <aura:if isTrue="{!vend.expanded}">
                    <table class="slds-table slds-table--bordered slds-table--striped slds-table--cell-buffer ">
            <tr class="slds-text-body_small "> 
                <th scope="col" style="width:50px"><span class="slds-truncate">Account #</span></th>
                <th scope="col" style="width:75px"><span class="slds-truncate">Service Type</span></th>
                <th scope="col" style="width:75px"><span class="slds-truncate">Aggregate Benchmark</span></th>
                <th scope="col" style="width:75px"><span class="slds-truncate">Location Name</span></th>
                		<aura:iteration items="{!vend.vendor_invoices__r}" var="chil">            
                    <th scope="row" ><ui:outputText value="{!chil.Name}"/></th>
                    <td ><ui:outputText value="{!chil.Service_Type__c}"/></td>               
                    <td style="width:75px"><ui:outputCurrency value="{!chil.Aggregate_Benchmark__c}"/></td>
                    <td style="width:75px"><ui:outputText value="{!chil.Location_Name__c}"/></td>

Any help would be appreciated

I'm trying to create a Flow for merging cases. The idea is simply to update the related records that can be re-parented, and copy the rest. We have "Enable Case Feed Actions and Feed Items" enabled, so all emails appear as FeedItem records with type EmailMessageEvent.

My problem is this: for emails I'm copying the EmailMessage record and the FeedItem records with type EmailMessageEvent. The problem is that I can't seem to find how these two records are related. The FeedItem record contains no reference to the EmailMessage record, and vice versa.

I'm thinking if there might be some other object that contains references to both the EmailMessage and FeedItem, and that is what ties them together, but I have yet been able to find something like this in the Object Reference.

Can someone help me find out what I'm missing here? Thanks in advance!

Best regards,
Jakob Berntsson