• Alice Smith
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 8
    Replies
Hi All,

I have created a custom list button on Task object. Now I want to show this button on Task list view page in lightning. But I unable to find any option to add this button on list view page on Task.

Please help.

Thanks,
Parteek
Hi All 
How can i auto populate text field value when i will select lookup field.I have written a class for add/delete row.I am trying to implement same autopopulate funtinality,but not sure how to achieve that requirement.My lookup field is product__c ..
 
public with sharing class QuoteLineItemAddRow {
    
  
   public id challanid;
   public List<Quotation_Line_Item__c>   Md{get;set;}
   

    public QuoteLineItemAddRow(ApexPages.StandardController controller) {

     
     challanid=Apexpages.currentPage().getParameters().get('qid');
           Md=new list<Quotation_Line_Item__c>(); 
           Quotation_Line_Item__c m=new Quotation_Line_Item__c();
           m.Quote_Name__c=challanid;
           Md.add(m);
           
           
    }
    
   
   
public void addrow()
    {
        Quotation_Line_Item__c m=new Quotation_Line_Item__c();
           m.Quote_Name__c=challanid;
           Md.add(m);
               }
               
               public void removerow()
    {
    Integer i = Md.size(); 
 Md.remove(i-1);
    }
    
     public pagereference save() 
    {
    insert Md;
    PageReference home = new PageReference('/' + challanid + '?nooverride=1');
 home.setRedirect(true);
 return home;
    }
    public pagereference cancel()
    {
    PageReference home = new PageReference('/' + challanid + '?nooverride=1');
 home.setRedirect(true);
 return home;
    }
}
 
<apex:page standardController="Quote__c" extensions="QuoteLineItemAddRow" lightningStylesheets="true" showHeader="false" sidebar="false">
<apex:slds />
<div >
<apex:form >
<apex:pageblock title="">
<apex:pageblockButtons >
<apex:commandButton action="{!save}" value="Save"/>
<apex:commandButton action="{!cancel}" value="Cancel"/>
</apex:pageblockButtons>


<div style="width:800px;">
<apex:pageblockTable value="{!Md}" var="c" id="table">
<!---<apex:column headerValue="Quote Name"> 
<apex:inputField value="{!c.Quote_Name__c}"/> 
</apex:column>--->
<apex:column headerValue="Product Name">
 <apex:inputField value="{!c.Product__c}"> 
</apex:inputField>
</apex:column>
<apex:column headerValue="Size">
 <apex:inputField value="{!c.Size__c}"/> 
</apex:column>
<apex:column headerValue="Price">
 <apex:inputField value="{!c.Product__r.Basic_Unit_Price__c}"/> 
</apex:column>
<apex:column headerValue="Quantity">
 <apex:inputField value="{!c.Qutantity__c}"/> 
</apex:column>
</apex:pageblockTable>
</div>


<apex:pageblockButtons location="bottom">
 <div style="text-align:right;margin-right:30px;font-weight:bold;"> 
<apex:commandLink value="Add Row" action="{!addRow}" rerender="table" immediate="true" /> 
&nbsp;|&nbsp;&nbsp; 
<apex:commandLink value="Remove Row" action="{!removeRow}" rerender="table" immediate="true" />
 </div> </apex:pageblockButtons>
</apex:pageblock>
</apex:form>
</div>
</apex:page>

 
final PageReference theUrl = new PageReference(SERVER_URL + '/services/data/v37.0/query/');

for Example i am using this code for getting record now i want to insert record using same technic ??:
theUrl.getParameters().put('q','select id,name from Account limit 10');
request = new HttpRequest();
request.setEndpoint(theUrl.getUrl());
request.setMethod('GET');
request.setHeader('Authorization', 'OAuth ' + SESSION_ID);

String body = (new Http()).send(request).getBody();
System.debug('Accounts in JSON format: ' + body);

When we start using Outlook on the regular basis which collects your file in a huge number of PST, that need to be handled to avoid other further damages. To deal with such deadends, you need to merge your PST files and make its single folder or file. Merging multiple PST files filters the duplicate data and free up the extra space taken by a particular file. Try your hands on this Merge PST file Software, the perfect solution to merge two PST files and keeps them as a backup for future use with no file size limit issues.

For more Visit: http://www.merge-pst-files.com/

Download the MBOX to PST Converter Software that fast convert the popular email client’s application like- Thunderbird, Spicebird, Applemail, Operamail, Mozillamail Eudora etc. into Outlook PST file and also removes all the error from MBOX file and transfer all its data into EML, HTML, RTF and MSG formats.

For more information visit the link: MBOX to PST Converter Software
 
Hi Guys, can anyone help me on cross object formula field? If any material available please post.
I'm working with a programmer on a native Android app.  In the current version, I have to go through a Salesforce login screen in order for the app to transfer its information to the Salesforce database.

Am I right that the app can signin automatically?  If so, can you point me to the instructions to do this?  Or can you give some paid time to guide my programmer to a solution?

If I create an automatic signin, what's the best way to avoid having to change passwords and tokens while still maintaining security?  Create a user with "password never expires" and very limited permissions?

Thanks for your help,
Baird