• Rakesh Thota 15
  • NEWBIE
  • 120 Points
  • Member since 2017

  • Chatter
    Feed
  • 4
    Best Answers
  • 0
    Likes Received
  • 26
    Likes Given
  • 0
    Questions
  • 27
    Replies
Hi there,
I am on the "Case Feed" module in the "Creating Professional Emails" section.  It describes creating a custom email signature with company logo, images etc...  I am trying to accomplish this in Salesforce Classice but only seem to get a simple text field for adding a signature.  How do you add a company logo or social networking images for Twitter, Facebook and Instagram?  Thanks for any guidance!
Hi all,

I am trying to display/retrieve a given date in the format dd/mm/yyyy, but without success til now.

What is being displayed is this:

User-added image

My code in Visualforce is this:
 
<td style="white-space:nowrap;">
                  <apex:inputText value="{0,StartDateTime,MM'/'dd'/'yyyy}" disabled="true" >
                   <apex:param value="{!evento.StartDateTime}" /> 
                  <apex:inputText>
</td>
Even if I replace "inputText" by "outputText", under my problems list appears "disabled not compatible with outputtext.

StartDateTime is a field in the Event object and it is shown that way probably because my time zone is a British timezone:

User-added image

Users want the timezone in English and not Spanish.
Is there any form to display the date time in the format dd/mm/yyyy? (example: 17/05/2017)

I would appreciate tips.
 
Hi,

I have a requirement to list all approval process in Visualforce Page in picklist and when user select any approval process, the system should display all the records which are submitted for approval along with their status.

Thanks in advance
suresh.
Hi All,

I want to discuss a business hours senario with you. We are using business hours for calculate Plan date of custom Activities. Our shift timing are 06:30 AM(Monday) to 03:30 AM(Tuesday),06:30 AM(Tuesday) to 03:30 AM(Wednesday) and so on. When I am going to set these hours to business hours, it is throwing the error "Error: Start time must be earlier than end time".

User-added image
Please help me to fix this issue.
Thanks,
Parteek
 
Hi ,

I need help on the following requirement as follows,

I have a text field called "Latest date" which has values in "March -2017" format

I want another formula field to convert the above text to dd/mm/yyyy format


The date can be 1st of every month

I shouldnt make any changes to the existing field and need this functionality in  a new field

Help me how to acheive this

Thanks in Advance
Hi. I am new to Salesforce.I am doing a tutorial, but when I finish a section the "verify Step" button is always disabled. How do I enable it?
Getting this error

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Type__c]: [Type__c]
Hello Guys,

I am facing some issue validating the challenge for APEX REST Callout trailhead. The code works fine while testing with mock response. Looking at the debug shows that the callout to https://th-apex-http-callout.herokuapp.com/animals/:id is returning just a static response with blank name for any id provided. SF is tying to validate with a random integer id and assert with an actual value. Any suggestions?

 
Hi there,
I am on the "Case Feed" module in the "Creating Professional Emails" section.  It describes creating a custom email signature with company logo, images etc...  I am trying to accomplish this in Salesforce Classice but only seem to get a simple text field for adding a signature.  How do you add a company logo or social networking images for Twitter, Facebook and Instagram?  Thanks for any guidance!
Hi all,

I am working on this since hours trying many code forms, trying with java script, with ajax, etc., without success.

For a special reason I am using two form tags in my Visualforce code.
I have the same case as here described:

https://salesforce.stackexchange.com/questions/8320/how-to-handle-two-form-tags-in-visualforce-page

My javascript code looks like this (this is one of my trials):
 
<apex:form >
             <script type="text/javascript">
                function grabExName(){
                  var ex = document.getElementById('optypage:cform:new_info').value;
                  alert(ex);
                }
             </script>
             <apex:actionFunction name="UpdateRelevantInformation" action="{!UpdateRelevantInformation}" reRender="out" oncomplete="grabExName();">
                <apex:param name="new_info" value="" />
             </apex:actionFunction>
        </apex:form>
This is in the "<body>" part of the code.

My commandbutton looks like this:
 
<apex:commandlink styleclass="btn btn-primary" id="new_info" value="Save new info" action="{!UpdateRelevantInformation}"  />

When I click that button it should let work the form with id "cform", so that when I click on the button, the functionality behind the action "UpdateRelevantInformation" should work.
Am I missing something here? because when I put the button on the second form, "UpdateRelevantInformation" doesn't do anything, but if I put the button in the first form, where the item Relevant Information should be updated, the button works.

I would appreciate your help.
 
how can i put calendar in Visualforce to make  calculation inside it 

Below is my class which is generating PDF for insert or update, BUT FOR A SINGLE RECORD ONLY

public with sharing class PDFGenerator
{
    
    public static final String FORM_HTML_START = '<HTML><BODY>';
    public static final String FORM_HTML_END = '</BODY></HTML>';

    public static void generateAccountPDF(Payment__c payment)
    {
        
        for(Payment__c p:[select id, name,TransactionStatus__c from payment__c where id=:payment.id]){
                String pdfContent = '' + FORM_HTML_START;
        try
        {
            pdfContent = '' + FORM_HTML_START;
            pdfContent = pdfContent + '<H2>Account Information in PDF</H2>';
            pdfContent = pdfContent + '<P>' + 'Mayank' + ': ' + p.name + '</P>';
            pdfContent = pdfContent + '<P>' + 'Sharma' + ': ' + p.TransactionStatus__c + '</P>';
            pdfContent = pdfContent + FORM_HTML_END;
        }catch(Exception e)
        {
            pdfContent = '' + FORM_HTML_START;
            pdfContent = pdfContent + '<P>THERE WAS AN ERROR GENERATING PDF: ' + e.getMessage() + '</P>';
            pdfContent = pdfContent + FORM_HTML_END;
        }
        attachPDF(payment,pdfContent);
            
        }
        
        
    }
    
    public static void attachPDF(Payment__c payment, String pdfContent)
    {
        try
        {
            Attachment attachmentPDF = new Attachment();
            attachmentPDF.parentId = payment.Id;
            attachmentPDF.Name = payment.Name + '.pdf';
            attachmentPDF.body = Blob.toPDF(pdfContent); //This creates the PDF content
            insert attachmentPDF;
        }catch(Exception e)
        {
            payment.addError(e.getMessage());
        }
    }
    
}

Can anyone suggest me how to make this code work for bulk insert or update

 

Our external dataloader has suddenly started experiencing the connection service error: 500 server error.    Is there any way we can access information to identify what the real error is?
On our page we have a scrollable table with date input fields. However, whenever we scroll the table up and down and select date input field, the date picker pops up in the position where the table row would have started on the page(which would be obviously at the bottom with out scroll). So, often that is outside of the bounds of our scrollable table.

The Activity Date aka Due_Date__c datepicker shows at the bottom of the page outside of the scrollable table as show in the images. Can some one help with this pls.
Ignore other fields that you see except for the Activity Date field where Activity Date is an outputfield with inline edit enabled and i do not see the date picker right below the selected row
continue: this is where the date picker shows at the bottom of the scrollable table.
<apex:page sidebar="false" controller="Test" standardStylesheets="true">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/JavaScript" />
    <style>
        .table-container {
            Width:  100.5%;
            height: 400px;
            border: 1px solid black;
            margin: 10px auto;
            background-color: #FFFFED;
            position: relative; /* or absolute */
            padding-top: 30px; /* matches height of header */
        }
        .table-container-inner {
            overflow-x: hidden;
            overflow-y: auto;
            height: 100%;
            Width:  auto;
        }
        .heading-bg {
            background-color: #66C87D;
            height: 30px; /* matches padding of table-container */
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            border-bottom: 1px solid black;
        }
        table {
            width: auto;
        }
        .heading {
            position: absolute;
            top: 0;
            font-weight: bold;
            text-align: center;
        }    
    </style>
    <apex:form id="formId">
        <apex:pageMessages id="msgId"/>
        <apex:pageBlock Title="Accounts List" mode="inlineEdit" id="acc_list" >
        <apex:pagemessages />
            <apex:pageBlockButtons >
                 <apex:commandButton action="{!Edit}" id="editButton" value="Edit"/>
                 <apex:commandButton action="{!save}" id="saveButton" value="Save"/>
                 <apex:commandButton action="{!cancel}" onclick="resetInlineEdit()" id="cancelButton" value="Cancel"/>
            </apex:pageBlockButtons>    
    <!-- ***Detail Mode*** -->            
            <apex:outputpanel rendered="{!view}" id="view">
                <apex:actionStatus id="loading" >
                    <apex:facet name="start" >
                      <center><img src="/img/loading32.gif" />      Loading....  Please Wait...  </center>          
                    </apex:facet>
                </apex:actionStatus>
                <div class="table-container">
                <div class="heading-bg"></div><div class="table-container-inner"> 
                        <table id="schTable" >
                            <thead><tr><td><div class="heading" style="width: 60px;word-wrap:break-word;">Activity Date</div></td></tr></thead>
                            <tbody>
                                <apex:repeat value="{!lstaAccs}" var="a"><tr onmouseover="this.style.backgroundColor='#e3f3ff';" onmouseout="this.style.backgroundColor='#ffffff';">
                                <td><div style="width: 80px;word-wrap:break-word;">
                                   <apex:outputField value="{!a.Acc.Due_Date__c}" title="Due Date">
                                                <apex:inlineEditSupport showOnEdit="saveButton, cancelButton" hideOnEdit="editButton" event="ondblclick" changedStyleClass="myBoldClass" resetFunction="resetInlineEdit"/>
                                  </apex:outputField></div>
                                </td></tr></apex:repeat>
                            </tbody>
                        </table>
                    </div></div>
            </apex:outputpanel>                       
        </apex:pageBlock>
    </apex:form>
    <script>
        var $ = jQuery.noConflict();
         $(document).ready(function(){
          $("#toggleId").click(function(){
            $("#detailTblId").toggle();
            if($("#detailTblId").css('display')=='none'){
                $('#linkTextId').html('Click here to show the Contact information in the Tabular form.');
            }else{
                $('#linkTextId').html('Click here to Hide.');
            }
          });                                           
        }); </script> 
</apex:page>

 
Hi,

I would like to customize the standard Salesforce header page. Also, the drop down user menu. Is this possible? 

User-added image

Thank you,
Satya
Hi all,

I am trying to display/retrieve a given date in the format dd/mm/yyyy, but without success til now.

What is being displayed is this:

User-added image

My code in Visualforce is this:
 
<td style="white-space:nowrap;">
                  <apex:inputText value="{0,StartDateTime,MM'/'dd'/'yyyy}" disabled="true" >
                   <apex:param value="{!evento.StartDateTime}" /> 
                  <apex:inputText>
</td>
Even if I replace "inputText" by "outputText", under my problems list appears "disabled not compatible with outputtext.

StartDateTime is a field in the Event object and it is shown that way probably because my time zone is a British timezone:

User-added image

Users want the timezone in English and not Spanish.
Is there any form to display the date time in the format dd/mm/yyyy? (example: 17/05/2017)

I would appreciate tips.
 
Hi,

Is there a way to embed the OBIEE cloud app in sfdc app ?

Regards,
Pallavi
  • May 17, 2017
  • Like
  • 1
Hi all,

I am currently are facing an urgent issue with displaying a picklist value in a visualforce page. The field that we are displaying is "website_Location__c" under "Advertisement__c" object and the field is a picklist.

The field is displayed using <apex:inputField> in a visualforce page "websitePost" as:
<apex:inputField value="{!Advertisement__c.website_Location__c}" />

The problem is that I could display this picklist field normally when I load websitePost.page directly. However, when I try to display this page using <apex:tab> in another visualforce page "jobBoards", no value will displayed for this picklist field. 

Also, I have tried this in several orgs, and only a few orgs have this problem. 

Does anyone knows the solution for this? Thank you.  
I've created a custom link that brings up a VF page that should display an image file (instructions for the reps). 

1. How to I reference the image file in VF code?
2. Where and how do I store the actual image file in Salesforce? 

Thank you!
I would like to achieve something like this:
User-added image

It is possible to do this using the Enhanced Page Layout Editor? Or it is only possible through VF page? This form have more than 200 fields by customer request and i don't want to code id...
Hello, 

I am having trouble with In-line edit functionality that I developed 6 months ago or so... at some point in the past couple of weeks it has stopped working.  Has there been some sort of update or something that would cause a piece of functionality to just stop working?  Here is an example of a place where I am using inline edit: 

on VF page: 
<apex:form > 
           <apex:pageBlock title="Qualified" mode="inlineedit">
             <table cellpadding="5" style="border-collapse: collapse;table-layout:fixed" width="1120" border="1">
                <tr>
                      
                </tr>
                <apex:variable var="QualRev" value="{!0}"/>
                <apex:repeat value="{!listOfQualified}" var="qd">
                                                                         <tr >
                                  
                            
                              
                            <td width="450">
                                <apex:outputField value="{!qd.Next_Step__c}" >
                                     <apex:inlineEditSupport event="ondblclick" showOnEdit="saveButton, cancelButton" />
                                </apex:outputField>
                            </td>
                
                                                   
                            

                        </tr>
                               
            </table> 
            <apex:commandButton action="{!saveQD}" value="Update Opptys"/>
            </apex:pageBlock>
           </apex:form>

and on my controller: 
 
public PageReference saveQD(){
    UPDATE listOfQualified;
    return null;
    }

This setup worked for months - but then stopped.  I can't figure out why! Can anyone help? 

Thanks, 

John
 
Hi ,

I need help on the following requirement as follows,

I have a text field called "Latest date" which has values in "March -2017" format

I want another formula field to convert the above text to dd/mm/yyyy format


The date can be 1st of every month

I shouldnt make any changes to the existing field and need this functionality in  a new field

Help me how to acheive this

Thanks in Advance
Hi. I am new to Salesforce.I am doing a tutorial, but when I finish a section the "verify Step" button is always disabled. How do I enable it?
Getting this error

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Type__c]: [Type__c]
I want to format the standard phone number field values. Example value should be 123-456-9876 when we enter as 1234569876 in the phone field? Is it possible?
Hello Guys,

I am facing some issue validating the challenge for APEX REST Callout trailhead. The code works fine while testing with mock response. Looking at the debug shows that the callout to https://th-apex-http-callout.herokuapp.com/animals/:id is returning just a static response with blank name for any id provided. SF is tying to validate with a random integer id and assert with an actual value. Any suggestions?

 
Hi there,
I am on the "Case Feed" module in the "Creating Professional Emails" section.  It describes creating a custom email signature with company logo, images etc...  I am trying to accomplish this in Salesforce Classice but only seem to get a simple text field for adding a signature.  How do you add a company logo or social networking images for Twitter, Facebook and Instagram?  Thanks for any guidance!
Hi all,

I am working on this since hours trying many code forms, trying with java script, with ajax, etc., without success.

For a special reason I am using two form tags in my Visualforce code.
I have the same case as here described:

https://salesforce.stackexchange.com/questions/8320/how-to-handle-two-form-tags-in-visualforce-page

My javascript code looks like this (this is one of my trials):
 
<apex:form >
             <script type="text/javascript">
                function grabExName(){
                  var ex = document.getElementById('optypage:cform:new_info').value;
                  alert(ex);
                }
             </script>
             <apex:actionFunction name="UpdateRelevantInformation" action="{!UpdateRelevantInformation}" reRender="out" oncomplete="grabExName();">
                <apex:param name="new_info" value="" />
             </apex:actionFunction>
        </apex:form>
This is in the "<body>" part of the code.

My commandbutton looks like this:
 
<apex:commandlink styleclass="btn btn-primary" id="new_info" value="Save new info" action="{!UpdateRelevantInformation}"  />

When I click that button it should let work the form with id "cform", so that when I click on the button, the functionality behind the action "UpdateRelevantInformation" should work.
Am I missing something here? because when I put the button on the second form, "UpdateRelevantInformation" doesn't do anything, but if I put the button in the first form, where the item Relevant Information should be updated, the button works.

I would appreciate your help.
 

Below is my class which is generating PDF for insert or update, BUT FOR A SINGLE RECORD ONLY

public with sharing class PDFGenerator
{
    
    public static final String FORM_HTML_START = '<HTML><BODY>';
    public static final String FORM_HTML_END = '</BODY></HTML>';

    public static void generateAccountPDF(Payment__c payment)
    {
        
        for(Payment__c p:[select id, name,TransactionStatus__c from payment__c where id=:payment.id]){
                String pdfContent = '' + FORM_HTML_START;
        try
        {
            pdfContent = '' + FORM_HTML_START;
            pdfContent = pdfContent + '<H2>Account Information in PDF</H2>';
            pdfContent = pdfContent + '<P>' + 'Mayank' + ': ' + p.name + '</P>';
            pdfContent = pdfContent + '<P>' + 'Sharma' + ': ' + p.TransactionStatus__c + '</P>';
            pdfContent = pdfContent + FORM_HTML_END;
        }catch(Exception e)
        {
            pdfContent = '' + FORM_HTML_START;
            pdfContent = pdfContent + '<P>THERE WAS AN ERROR GENERATING PDF: ' + e.getMessage() + '</P>';
            pdfContent = pdfContent + FORM_HTML_END;
        }
        attachPDF(payment,pdfContent);
            
        }
        
        
    }
    
    public static void attachPDF(Payment__c payment, String pdfContent)
    {
        try
        {
            Attachment attachmentPDF = new Attachment();
            attachmentPDF.parentId = payment.Id;
            attachmentPDF.Name = payment.Name + '.pdf';
            attachmentPDF.body = Blob.toPDF(pdfContent); //This creates the PDF content
            insert attachmentPDF;
        }catch(Exception e)
        {
            payment.addError(e.getMessage());
        }
    }
    
}

Can anyone suggest me how to make this code work for bulk insert or update

 

Our external dataloader has suddenly started experiencing the connection service error: 500 server error.    Is there any way we can access information to identify what the real error is?
On our page we have a scrollable table with date input fields. However, whenever we scroll the table up and down and select date input field, the date picker pops up in the position where the table row would have started on the page(which would be obviously at the bottom with out scroll). So, often that is outside of the bounds of our scrollable table.

The Activity Date aka Due_Date__c datepicker shows at the bottom of the page outside of the scrollable table as show in the images. Can some one help with this pls.
Ignore other fields that you see except for the Activity Date field where Activity Date is an outputfield with inline edit enabled and i do not see the date picker right below the selected row
continue: this is where the date picker shows at the bottom of the scrollable table.
<apex:page sidebar="false" controller="Test" standardStylesheets="true">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/JavaScript" />
    <style>
        .table-container {
            Width:  100.5%;
            height: 400px;
            border: 1px solid black;
            margin: 10px auto;
            background-color: #FFFFED;
            position: relative; /* or absolute */
            padding-top: 30px; /* matches height of header */
        }
        .table-container-inner {
            overflow-x: hidden;
            overflow-y: auto;
            height: 100%;
            Width:  auto;
        }
        .heading-bg {
            background-color: #66C87D;
            height: 30px; /* matches padding of table-container */
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            border-bottom: 1px solid black;
        }
        table {
            width: auto;
        }
        .heading {
            position: absolute;
            top: 0;
            font-weight: bold;
            text-align: center;
        }    
    </style>
    <apex:form id="formId">
        <apex:pageMessages id="msgId"/>
        <apex:pageBlock Title="Accounts List" mode="inlineEdit" id="acc_list" >
        <apex:pagemessages />
            <apex:pageBlockButtons >
                 <apex:commandButton action="{!Edit}" id="editButton" value="Edit"/>
                 <apex:commandButton action="{!save}" id="saveButton" value="Save"/>
                 <apex:commandButton action="{!cancel}" onclick="resetInlineEdit()" id="cancelButton" value="Cancel"/>
            </apex:pageBlockButtons>    
    <!-- ***Detail Mode*** -->            
            <apex:outputpanel rendered="{!view}" id="view">
                <apex:actionStatus id="loading" >
                    <apex:facet name="start" >
                      <center><img src="/img/loading32.gif" />      Loading....  Please Wait...  </center>          
                    </apex:facet>
                </apex:actionStatus>
                <div class="table-container">
                <div class="heading-bg"></div><div class="table-container-inner"> 
                        <table id="schTable" >
                            <thead><tr><td><div class="heading" style="width: 60px;word-wrap:break-word;">Activity Date</div></td></tr></thead>
                            <tbody>
                                <apex:repeat value="{!lstaAccs}" var="a"><tr onmouseover="this.style.backgroundColor='#e3f3ff';" onmouseout="this.style.backgroundColor='#ffffff';">
                                <td><div style="width: 80px;word-wrap:break-word;">
                                   <apex:outputField value="{!a.Acc.Due_Date__c}" title="Due Date">
                                                <apex:inlineEditSupport showOnEdit="saveButton, cancelButton" hideOnEdit="editButton" event="ondblclick" changedStyleClass="myBoldClass" resetFunction="resetInlineEdit"/>
                                  </apex:outputField></div>
                                </td></tr></apex:repeat>
                            </tbody>
                        </table>
                    </div></div>
            </apex:outputpanel>                       
        </apex:pageBlock>
    </apex:form>
    <script>
        var $ = jQuery.noConflict();
         $(document).ready(function(){
          $("#toggleId").click(function(){
            $("#detailTblId").toggle();
            if($("#detailTblId").css('display')=='none'){
                $('#linkTextId').html('Click here to show the Contact information in the Tabular form.');
            }else{
                $('#linkTextId').html('Click here to Hide.');
            }
          });                                           
        }); </script> 
</apex:page>

 
Hi,

I would like to customize the standard Salesforce header page. Also, the drop down user menu. Is this possible? 

User-added image

Thank you,
Satya
Hi all,

I am trying to display/retrieve a given date in the format dd/mm/yyyy, but without success til now.

What is being displayed is this:

User-added image

My code in Visualforce is this:
 
<td style="white-space:nowrap;">
                  <apex:inputText value="{0,StartDateTime,MM'/'dd'/'yyyy}" disabled="true" >
                   <apex:param value="{!evento.StartDateTime}" /> 
                  <apex:inputText>
</td>
Even if I replace "inputText" by "outputText", under my problems list appears "disabled not compatible with outputtext.

StartDateTime is a field in the Event object and it is shown that way probably because my time zone is a British timezone:

User-added image

Users want the timezone in English and not Spanish.
Is there any form to display the date time in the format dd/mm/yyyy? (example: 17/05/2017)

I would appreciate tips.
 
HI
i am new to salesforce

i am getting only 50% code coverage only
please write the test class for this controller class

Here my code:
public class Partner_For_Account {
    public list<Partner_For_Account__c>partners{set;get;}
    public string partnerAccountid{set;get;}
    private final Account acct;
    public integer rowno{set;get;}
    public list<Partner_For_Account__c> PartnerAccount { get; set; }
    public id Accountid;
     //string id= Apexpages.currentPage().getparameters().get('id');
    public Partner_For_Account(Apexpages.standardcontroller controller){
        Accountid=controller.getid();
         System.debug('Accountid'+Accountid);
        system.debug('partnerAccountid'+partnerAccountid);
        partners=new list<Partner_For_Account__c>();
       PartnerAccount = new list<Partner_For_Account__c>();
        Partner_For_Account__c p=new Partner_For_Account__c();
        p.Account__c=Accountid;
       
      partners.add(p);
        system.debug('partners'+partners);
       
        system.debug('Name'+'Malli');
        
         PartnerAccount =[select id,Partner__c,Partner_Manager__c,Partner_Segment__c,Partner_Sales_Person__c ,Account__c from Partner_For_Account__c where Account__c =:Accountid];
        
    }
    public void addrow(){
        partners.add(new Partner_For_Account__c(Account__c=Accountid));
    }
     public void deleterow(){
        rowno=integer.valueOf(apexpages.currentPage().getparameters().get('index'));
        partners.remove(rowno);
    }
    public void savepartner(){
        insert partners;
        partners=new list<Partner_For_Account__c>();
         Partner_For_Account__c p=new Partner_For_Account__c();
        p.Account__c=Accountid;
       
      partners.add(p);
      refreshing();
    }
    public void deletepartnerAccount()
    {
        system.debug('partnerAccountid'+partnerAccountid);
        Partner_For_Account__c PartnerAccounts=[select Partner__c,Partner_Manager__c,Partner_Segment__c,Partner_Sales_Person__c ,Account__c from Partner_For_Account__c  where id=:partnerAccountid];
        delete PartnerAccounts;
 refreshing();
    }
    
    public void refreshing(){
          PartnerAccount =[select Partner__c,Partner_Manager__c,Partner_Segment__c,Partner_Sales_Person__c ,Account__c from Partner_For_Account__c where Account__c =:Accountid];
    }
}
 
Hi,

Is there a way to embed the OBIEE cloud app in sfdc app ?

Regards,
Pallavi
  • May 17, 2017
  • Like
  • 1
I've created a custom link that brings up a VF page that should display an image file (instructions for the reps). 

1. How to I reference the image file in VF code?
2. Where and how do I store the actual image file in Salesforce? 

Thank you!
I would like to achieve something like this:
User-added image

It is possible to do this using the Enhanced Page Layout Editor? Or it is only possible through VF page? This form have more than 200 fields by customer request and i don't want to code id...
Hello, 

I am having trouble with In-line edit functionality that I developed 6 months ago or so... at some point in the past couple of weeks it has stopped working.  Has there been some sort of update or something that would cause a piece of functionality to just stop working?  Here is an example of a place where I am using inline edit: 

on VF page: 
<apex:form > 
           <apex:pageBlock title="Qualified" mode="inlineedit">
             <table cellpadding="5" style="border-collapse: collapse;table-layout:fixed" width="1120" border="1">
                <tr>
                      
                </tr>
                <apex:variable var="QualRev" value="{!0}"/>
                <apex:repeat value="{!listOfQualified}" var="qd">
                                                                         <tr >
                                  
                            
                              
                            <td width="450">
                                <apex:outputField value="{!qd.Next_Step__c}" >
                                     <apex:inlineEditSupport event="ondblclick" showOnEdit="saveButton, cancelButton" />
                                </apex:outputField>
                            </td>
                
                                                   
                            

                        </tr>
                               
            </table> 
            <apex:commandButton action="{!saveQD}" value="Update Opptys"/>
            </apex:pageBlock>
           </apex:form>

and on my controller: 
 
public PageReference saveQD(){
    UPDATE listOfQualified;
    return null;
    }

This setup worked for months - but then stopped.  I can't figure out why! Can anyone help? 

Thanks, 

John