• Neel Kamal 6
  • NEWBIE
  • 25 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
I saw many post regarding this issue but non of them calling action support from apexgridPanel.
PageBlock have 2 coloumn but in one row I have to display two checkbox in one coloumn so I used gridPanel for this.
On click of check I have to hide and display one pageblock section. So On click of checkbox I am calling action hideDisplayLOB using
action support but actionsupport unable to hit action on controller.

Visualforce page(I can't provide full code) - 
<apex:pageBlockSectionItem id="uatSection">
                    <apex:outputLabel value="User Account Type" />
                    <apex:panelGrid columns="5" id="pg">
                        <apex:outputLabel value="Admin"/>
                        <apex:inputCheckbox id="admin" value="{!hsProvi.Admin__c}" disabled="{!isAdminDisable}" />                        
                         <apex:outputLabel value="User"/>
                         <apex:actionRegion>
                             <apex:inputCheckbox id="user" value="{!hsProvi.User__c}" disabled="{!isUserDisable}"/>
                             <apex:actionSupport  event="onclick" reRender="sslob" action="{!hideDisplayLOB}"></apex:actionSupport>
                         </apex:actionRegion>
                   </apex:panelGrid>                   
                </apex:pageBlockSectionItem> 
                   <apex:pageBlockSectionItem >
                    <apex:outputLabel value="Admin Role"/>
                    <!-- apex:outputLabel value="{!roleList}" /-->
                     <apex:selectList id="adminRole" value="{!roleName}" size="1" disabled="true">
                        <apex:selectOptions value="{!roleOptions}"/>
                    </apex:selectList>
                </apex:pageBlockSectionItem>
                <apex:pageBlockSectionItem id="ss" rendered="{!lobDisplay}">
                    <apex:outputPanel id="sslob">
                    <apex:outputLabel value="Line of Business"/>
                    <apex:inputField id="lob" value="{!hsProvi.HS_Line_of_Business__c}" />
                       </apex:outputPanel>
                </apex:pageBlockSectionItem>  

Cotroller
public pageReference hideDisplayLOB(){
         System.debug('Hide Dispaly LOB');
         if(hsProvi.User__c) {
             lobDisplay = true;
         }
         else {
             lobDisplay = false;
         }
         return null;
     }
 
I created two step Approval process on case object. Record detail and lock symbol is displaying after click on link in email. But unable to see history of Approval process and link of Accept and Reject(Screenshot-1). Same thing I checked on custom object and able to get Approval Process(Screenshot-2). Please help.
Records Snapshot
Screenshot-2 - Same approval process has created on custom object and working fine
Approval process displaying on Custom object
hi guys, 
i have a question plz:
How can i get a reference to a custom label dynamically using lwc:
i have this code and i want to convert it to lwc:
var currentCat = categoryWrapper.categories[i];  var labelReference = $A.getReference("$Label.c."+currentCat.name);   component.set("v.tempLabel", labelReference);
//we can't use $A.getreference in lwc,
 and using apex i didn't found a solution 
this is the function in apex:
 @AuraEnabled     public static String getLabel(String LabelName){                  system.debug('LabelName'+LabelName);  
      String s2 = system.Label.LabelName ;  return s2;     }
this is the function in lwc:
 getLabel({
                    LabelName:labelReference, //labelreference is the name of custom label
                }).then(result=>{
                    
                    console.log('myJSON:'+result);
 
                }).catch(error=>{
                    console.log('error');
                })
//i want to return the value of a custom label when i send the name of custom label in parameter. Where Is my error, and is there a solution ?
Best Regards
Hello,

i am getting this error when launching IDE 2:
 
An internal error occurred during: "Starting Lightning Tools".
java.lang.NullPointerException
Any idea how to solve this?

thanks
Peter
 
I created two step Approval process on case object. Record detail and lock symbol is displaying after click on link in email. But unable to see history of Approval process and link of Accept and Reject(Screenshot-1). Same thing I checked on custom object and able to get Approval Process(Screenshot-2). Please help.
Records Snapshot
Screenshot-2 - Same approval process has created on custom object and working fine
Approval process displaying on Custom object
Hi,

I hope, that this is the right place for my question.
I tried a few features with the new process builder and I'm not sure about this "issue":
  1. Approval process is working and at the end the status field will be updated to the next value.
  2. This new value should start the process builder-WF. But this is not happened.
=>But, if I change the value manually (without approval process), then the process builder-WF fires.

Can someone explain me this behaviour?

Regards
Robert