• KrishanGopal
  • NEWBIE
  • 0 Points
  • Member since 2016
  • Developer
  • Exicom Tele-Systems Ltd.

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
Hi There!

PDF is not downloading completely it is cutting from left side around 4 rows when i download it from the lightning verson but it is working in the classic verson. and also my community user facing same issue. please help me on this thanks in advance.
 
Hi,

We installed Lightning Community Approval Requests package for our community user and add Approval List lightning components at their home page.

One user click on their home tab they are getting an error msg "Failed to return approval items".

Please suggest to resolve this problem. 

Org type : Production lightening enabled 
Edition : Enterprise edition
User licence : Customer Community Plus

Regards,
Krishna Gopal
Hi,
I'm using below visulforce page in community but when I click on related list action they are showing invalid page.

<apex:page standardController="Expenses_Management__c" lightningStylesheets="true" standardStylesheets="false" showHeader="false" > <apex:slds /> <apex:form > <apex:pageblock mode="maindetail"> <div style='padding:10px;font-weight: bold'> <apex:pageBlockSection title="Information" columns="2" collapsible="false" > <apex:outputField value="{!Expenses_Management__c.Name}" /> <apex:outputField value="{!Expenses_Management__c.OwnerId}" /> <apex:outputField value="{!Expenses_Management__c.Employee__c}" /> <apex:outputField value="{!Expenses_Management__c.Document_Date__c}" /> <apex:outputField value="{!Expenses_Management__c.Expense_Purpose__c}" /> <apex:outputField value="{!Expenses_Management__c.Expense_Type__c}" /> <apex:outputField value="{!Expenses_Management__c.Tour_Start_Date__c}" /> <apex:outputField value="{!Expenses_Management__c.Tour_End_Date__c}" /> <apex:outputField value="{!Expenses_Management__c.Cost_Center__c}" /> <apex:outputField value="{!Expenses_Management__c.Purpose_of_Visit__c}" /> <apex:outputField value="{!Expenses_Management__c.Status__c}" /> <apex:outputField value="{!Expenses_Management__c.Remark__c}" /> </apex:pageBlockSection> </div> <div style='padding:10px;font-weight: bold' > <apex:pageBlockSection title="Amount Detail" columns="2" collapsible="false"> <apex:outputField value="{!Expenses_Management__c.Total_Expense__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Tour_Amount__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Tour_Amount_Company_Paid__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Lodging_Amount__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Lodging_Company_Paid__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Boarding_Amount__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Company_Paid__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Local_Conveyance__c}" /> <apex:outputField value="{!Expenses_Management__c.Net_Amount_To_Pay__c}" /> <apex:outputField value="{!Expenses_Management__c.Total_Other_Charges__c}" /> </apex:pageBlockSection> </div> </apex:pageblock> </apex:form> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="Tour_Expenses__r" pageSize="100" /> </div> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="Boarding_Loadging__r" pageSize="100"/> </div> <div style='padding:10px'> <apex:relatedList list="DA__r" pageSize="100"/> </div> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="Local_Conveyance__r" pageSize="100"/> </div> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="Other_Charges__r" pageSize="100"/> </div> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="Expense_Reports__r" pageSize="100"/> </div> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="Cases_attached_to_Expense__r" pageSize="100"/> </div> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="CombinedAttachments" pageSize="100"/> </div> <div style='padding:10px;font-weight: bold'> <apex:relatedList list="ProcessSteps" pageSize="100"/> </div> </apex:page>

User-added image
Related list action higlighted in red block are not working in community

Please help to solve this issue.

 
Hi There!

PDF is not downloading completely it is cutting from left side around 4 rows when i download it from the lightning verson but it is working in the classic verson. and also my community user facing same issue. please help me on this thanks in advance.
 
Disable inputfield at Visualforce page based on other inputfield picklist values

<apex:page controller="AddingCompetitorsDetailHWController" tabStyle="Account" sidebar="false"  >
<apex:pageMessages id="pgMessages" ></apex:pageMessages>
<apex:sectionheader title="Books in Use"/>
    <apex:form >
        <apex:variable var="rowNum" value="{!0}"  />
        <apex:pageBlock >
            <apex:variable var="rowNum" value="{!0}"  />  
            <apex:pageBlockTable value="{!interestList}" var="int" title="Competitor Analysis">
                <apex:facet name="footer">
                    <apex:commandLink value="Add More Class" action="{!insertRow}"/>
                </apex:facet>

                        <apex:column headerValue="Class">
                            <apex:inputField value="{!int.Kips_Class__c}" required="true"/>
                        </apex:column>
                        
                        <apex:column headerValue="Valid Data">
                            <apex:inputField value="{!int.Kips_Valid_Data__c}" required="true"/>
                        </apex:column>
                        
                        <apex:column headerValue="Publisher">
                            <apex:inputfield value="{!int.kips_Publisher__c}" required="true"/>
                        </apex:column>

                        <apex:column headerValue="Other Publisher Name">
                            <apex:inputfield value="{!int.Kips_Other_Publisher__c}"/>
                        </apex:column>                         

                        <apex:column headerValue="Other Publisher Title Name">
                            <apex:inputfield value="{!int.Other_Book_Title__c}"/>
                        </apex:column>                         

                        <apex:column headerValue="Subject">
                            <apex:inputfield value="{!int.Subject__c}" required="true"/>
                        </apex:column>

                        <apex:column headerValue="Series">
                            <apex:inputfield value="{!int.Series__c}" required="true"/>
                        </apex:column>

                        <apex:column headerValue="Title" >
                            <apex:inputfield value="{!int.Headword_Book_Title__c}" required="true"/>
                        </apex:column>                  

                        <apex:column headerValue="Reason">
                            <apex:inputfield value="{!int.Reason_v2__c}" required="true"/>
                        </apex:column>                         

                        <apex:column headerValue="Other Reason">
                            <apex:inputfield value="{!int.Other_Reason__c}" />
                        </apex:column>                         

                <apex:column headerValue="Action" >
                    <apex:commandLink style="font-size:15px; font-weight:bold; text-align:center;color:red;" value="X" action="{!delRow}">
                        <apex:param value="{!rowNum}" name="index" />
                    </apex:commandLink>
                    <apex:variable var="rowNum" value="{!rowNum+1}"/>
                </apex:column>          
            </apex:pageBlockTable>
            <apex:pageBlockButtons >
                <apex:commandButton value="Save" action="{!insertIntests}"/>&nbsp;
                <apex:commandButton value="Canncel" action="{!Cancel}" immediate="true"/>&nbsp;
            </apex:pageBlockButtons>
        </apex:pageBlock>
    </apex:form>
</apex:page>
                  
User-added image