• Scott Janis 19
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 12
    Replies
Hello, 

We use the current Zendesk to SFDC connector. With this connector, we are able to see Zendesk tickets on SalesForce. We have declarative flows that also update the status of the Zendesk ticket , as it exists in on the zendesk_support_tickets__c custom object. We need for this to also be pushed bacl over to Zendesk.  Out-of-the -box white papers show that , updating tickets in SFDC at the object level with the field updates will not update the ZD ticket but one can 'edit' the ZD ticket on SFDC trough the GUI and the ticket will updated on Zednesk. My question is, how can I do this by way of a button and perhaps a URL or an API?  
I have a list button from the account record that called up this VF page. The works perfectrly in classic but the page doesn not load in lighteing. Why?
<apex:page standardController="Account"    extensions="UploadAttachmentController">

 <apex:sectionHeader title="{!Account.Name}" subtitle="Attach File"/>
 
 <apex:form id="form_Upload">
 <apex:pageBlock >

 <apex:pageBlockButtons >
   <apex:commandButton action="{!back}" value="Back to {!Account.Name}"/>
   <apex:commandButton action="{!back}" value="Cancel"/>
 </apex:pageBlockButtons>
 <apex:pageMessages />
 
  <apex:pageBlockSection columns="1">
  
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="File" for="file_File"/>
      <apex:inputFile id="file_File" value="{!fileBody}" filename="{!fileName}"/>
    </apex:pageBlockSectionItem>
  
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="Type" for="type"/>
      <apex:selectList value="{!selectedType}" size="1" id="type"> 
        <apex:selectOption itemValue="MSA" itemLabel="MSA"/>
        <apex:selectOption itemValue="NDA" itemLabel="NDA"/>

      </apex:selectList>
    </apex:pageBlockSectionItem>
    
   
    
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="Description" for="description"/> 
      <apex:inputTextarea id="description" value="{!description}" rows="4" cols="50"/>
    </apex:pageBlockSectionItem>
    
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="" for="uploadBtn"/> 
      <apex:commandButton id="uploadBtn" value="Attach File" action="{!processUpload}" />
    </apex:pageBlockSectionItem>    
    
  </apex:pageBlockSection>
 
 </apex:pageBlock>


 </apex:form>

</apex:page>
Hello, 

I was not sure where to post this. I m hoping this is close. 

We have enterprise Territor management enable in our org and use an APEX enpoint to spin up account autimatically. We also have a workstream that require manual account creation. 

Here is the issue:

Manual account creation auto assigns the users and the territories when the criteria is met to the accopunt record, but when an account record is created through this APEX code, the rules do not seem to kick in but if I edit that same account and then save it , they do kick in. 

Happy to send you the APEX code if you need more info. 

Thank you
I have a list button from the account record that called up this VF page. The works perfectrly in classic but the page doesn not load in lighteing. Why?
<apex:page standardController="Account"    extensions="UploadAttachmentController">

 <apex:sectionHeader title="{!Account.Name}" subtitle="Attach File"/>
 
 <apex:form id="form_Upload">
 <apex:pageBlock >

 <apex:pageBlockButtons >
   <apex:commandButton action="{!back}" value="Back to {!Account.Name}"/>
   <apex:commandButton action="{!back}" value="Cancel"/>
 </apex:pageBlockButtons>
 <apex:pageMessages />
 
  <apex:pageBlockSection columns="1">
  
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="File" for="file_File"/>
      <apex:inputFile id="file_File" value="{!fileBody}" filename="{!fileName}"/>
    </apex:pageBlockSectionItem>
  
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="Type" for="type"/>
      <apex:selectList value="{!selectedType}" size="1" id="type"> 
        <apex:selectOption itemValue="MSA" itemLabel="MSA"/>
        <apex:selectOption itemValue="NDA" itemLabel="NDA"/>

      </apex:selectList>
    </apex:pageBlockSectionItem>
    
   
    
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="Description" for="description"/> 
      <apex:inputTextarea id="description" value="{!description}" rows="4" cols="50"/>
    </apex:pageBlockSectionItem>
    
    <apex:pageBlockSectionItem >
      <apex:outputLabel value="" for="uploadBtn"/> 
      <apex:commandButton id="uploadBtn" value="Attach File" action="{!processUpload}" />
    </apex:pageBlockSectionItem>    
    
  </apex:pageBlockSection>
 
 </apex:pageBlock>


 </apex:form>

</apex:page>

How to enable Territory Management?