• elen maoel 2
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
I have created one Lightning aura component in Sales cloud which is workinf fine desktop browser, and on the Salesforce App on Android device,but not working in IOS .

 var pageReference = {
                    type: 'standard__component',
                    attributes: {
                           componentName: 'c__EditInLineTableOpportunityLighting'
                    },
                    state: {
                        
                        c__refRecordId: component.get("v.recordId")
                    }
                };
                component.set("v.pageReference", pageReference);
                const navService = component.find('navService');
                const pageRef = component.get('v.pageReference');
                const handleUrl = (url) => {
                    window.open(url);
                };
                    const handleError = (error) => {
                    console.log(error);
                };
                    navService.generateUrl(pageRef).then(handleUrl, handleError);
                    $A.get("e.force:closeQuickAction").fire();  
Right now I have an Account query that retrieves Case information

(simplified code)
 
global without sharing class TicketPortal
{
    Id AccountId;
    // Assume in this sample code that AccountId has been populated

    a = [SELECT
                   Id, Name,             
                   (SELECT 
                       Id, CaseNumber, Subject, Status, RecordType.Name, CreatedDate, IsClosed, OwnerId, Owner.Name, Owner.Email, Owner.Phone, Contact.Name 
                    FROM Cases
                    WHERE 
                        RecordType.Name in ('Issue Record Type','Premium Plus Record Type')
                        AND ( ContactId != null OR SuppliedEmail != null )
                        AND Origin in ('Phone','Email','Customer Portal')
                        
                    ORDER BY CreatedDate DESC
                   )
     
                 FROM Account
                 WHERE Id = :AccountId ];                           
        }
}

The data queried is used to display case history with an account. When I preview it through Visualforce Pages preview (with the above-code as the controller), I can see all the relevant data.

However, if I try to view this from a Sites page (with guest user), I can get the Account and Case information back, but for data like the Case.Contact.Name, I am unable to retrieve. On my VS page, the Contact Name appears blank, though it does not appear blank when viewing it from previewing my VS page in Salesforce

I checked my Share settings and the Site Guest User has read access to Accounts/Cases/Contacts. I have reviewed the Site Guest User's Public Access Settings -> Object Settings -> Cases -> Field Permissions, and all the Contact fields that I need have Read Access..

Is there anything else that I'm missing?
Hi all,

I have built a vf-page, that should show helptext in classic, lightning experience and salesforce1 but does not rendered helptext in lightning experience properly.

Question:
Does anyone know why helptext is not rendered in lightning experience?

Related article:
  • https://salesforce.stackexchange.com/questions/21412/help-text-not-appearing-when-using-apexoutputfield-with-a-custom-label

That's the way it look (currently):
Lightning experience:
User-added image
Classic:
User-added image
Salesforce1:
User-added image

Following code is used for vf-page:
<apex:page applyBodyTag="false"
    applyHtmlTag="true"
    renderAs="html"
    docType="html-5.0"
    showHeader="true"
    sidebar="true"
    standardStylesheets="true"
    title="{!title}"
    controller="SepaTransactionController"
    tabStyle="SepaSearchTransaction__tab"
    lightningStylesheets="true" 
>

<apex:form >
        <apex:pageMessages id="pageMessage" escape="false"/>

        <apex:pageBlock title="{!title}" mode="detail" id="pageBlockSetionItemSearchCriteria">

            <apex:pageBlockSection title="{!$Label.Input}" columns="{!IF(OR($User.UIThemeDisplayed = 'Theme3', $User.UIThemeDisplayed = 'Theme4d'), 2, 1)}" id="pageBlockSearchCriteria">
                <apex:PageBlockSectionItem helpText="{!$Label.HelpGASATIds}">
                    <apex:outputLabel value="{!transactionPluralName} Ids" for="idsId"/>
                    <apex:inputText id="idsId" value="{!transactionIds}"/>
                </apex:PageBlockSectionItem>
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>