• prasad1.3969574005596787E12
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 18
    Questions
  • 14
    Replies
I am trying to update an account from contact field as i had tried my code having this error
"Initial term of field expression must be a concrete SObject: LIST"

List<Account> acc = new List<Account>();
List<Contact> con = new List<Contact>();
Set<Id> setid = new Set<Id>();

Contact c = new contact();
Account a = new Account();

con = [SELECT name,Accountid FROM Contact WHERE Lastname='Rahul'];
setid.add(con.id);
acc = [SELECT name FROM Account WHERE id in: setid];
acc.name = 'Naveen Rahul';
update acc;


HOw to Replace Label "Record Type of new record" to "Choose a course"

and  how to customize this page.......!

Replacing the title of Select Record Type from the below picture

User-added image


Please help me........!

Hi All,

As I am trying to hide a values that not to display in Standard detial page (like Opportunity home).

This can vary by dependence variable to hide or show.
Please share your ideas...

Hi All,

As I amtrying to alter the rows in datatable using picklist(1 to 10). If I select picklist 4 then rows of inputfields be 4 so...on...! Please help me.....!
HI All,

As I am trying to add input field of custome object in opportunity object. But there is error that 

Error: Unknown property 'OpportunityStandardController.bucketlevel__c 

Please help me..........!
Hi community,

As i am trying to insert a input feild in table where the rows equal to the picklist value. PLEASE SHARE YOUR IDEAS........!

Thanks and Regards,
Prasad VDV
Hi All,

As I am trying to Display message in the apex code:
for if condition is true

ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,cw.cat.name));

Hi All,

I am trying to iterate the apex:repeat with value of picklist.
what I mean is........... If I select 3 from picklist, apex:repeat must iterate only 3 times only.
Please help me
Hi,

How to compare variable and selected option in picklist. Please help me...!

Thanks and Regards
Prasad VDV
Hi All,

I am trying to get resize table by dynamically in visuaforce page
Please share your IDEAS....!

Thank You,
Prasad VDV
Hi All,

I am trying to get resize table by dynamically in visuaforce page
Please share your IDEAS....!

Thankyou,
prasad vdv
Hi All,

I am trying to insert data to objects. And that data to displayed below the insertion block............!
HI All,

As I am trying to send the details in html via email:
Hi All,

I am trying to write a test class in the following code:

public class OpportunityContactRoleExtension{

public List<OpportunityContactRole> ContactRoles{get;set;}

public OpportunityContactRoleExtension(
ApexPages.StandardController controller
){
ContactRoles =
[
SELECT
Contact.Name,
Contact.Email,
Role
FROM
OpportunityContactRole
WHERE
OpportunityId =
:((Opportunity)controller.getRecord()).Id
];
}

Please Help me to solve
Hi Community,

                 As I am a newbie to salesforce, so i am searching for sample code login in salesforce using api.
Please suggest to solve the login authentication of salesforce using api

Hi  community,

                    As I am trying to login into html page and it must authenticate to salesforce.com

I am new to salesforce, please help me.

Hi All,

        As I trying to login using html page that created by me. It must authenticate with salesforce and getting data from salesforce.........

Thanks n Regards,
Prasad VDV

I am trying to update an account from contact field as i had tried my code having this error
"Initial term of field expression must be a concrete SObject: LIST"

List<Account> acc = new List<Account>();
List<Contact> con = new List<Contact>();
Set<Id> setid = new Set<Id>();

Contact c = new contact();
Account a = new Account();

con = [SELECT name,Accountid FROM Contact WHERE Lastname='Rahul'];
setid.add(con.id);
acc = [SELECT name FROM Account WHERE id in: setid];
acc.name = 'Naveen Rahul';
update acc;


Hi,

How to compare variable and selected option in picklist. Please help me...!

Thanks and Regards
Prasad VDV
Hi All,

I am trying to get resize table by dynamically in visuaforce page
Please share your IDEAS....!

Thankyou,
prasad vdv
Hi All,

I am trying to insert data to objects. And that data to displayed below the insertion block............!
HI All,

As I am trying to send the details in html via email:
Hi All,

I am trying to write a test class in the following code:

public class OpportunityContactRoleExtension{

public List<OpportunityContactRole> ContactRoles{get;set;}

public OpportunityContactRoleExtension(
ApexPages.StandardController controller
){
ContactRoles =
[
SELECT
Contact.Name,
Contact.Email,
Role
FROM
OpportunityContactRole
WHERE
OpportunityId =
:((Opportunity)controller.getRecord()).Id
];
}

Please Help me to solve

Hi All,

        As I trying to login using html page that created by me. It must authenticate with salesforce and getting data from salesforce.........

Thanks n Regards,
Prasad VDV

i have to login into salesforce  org by an html page outside the salesforce....please giv some suggestion what to do for it ...n  i have to include below file

<script src="/soap/ajax/11.0/connection.js"></script>
<script src="/soap/ajax/11.0/apex.js"></script>

 should i have to download it ...? from where

I need to rerender visualforce when a user selects an item from a picklist.  I only want to show the records related to the item chosen.

 

<apex:page standardController="Repository__c" extensions="PrinterDetails" >
    <apex:form >
        <apex:pageBlock id="thePageBlock" >
          <apex:actionRegion >
              <apex:pageBlockSection title="Printer Information" columns="1">
                  <apex:inputField value="{!Repository__c.name"/>
                  <apex:pageBlockSectionItem>
                      <apex:outputLabel value="Address Name"/>
                      <apex:outputPanel>
                          <apex:inputField value="{!Repository__c.Address_Name__c}">
                              <apex:actionSupport event="onchange" rerender="thePageBlock" status="status"/>
                          </apex:inputField>
                          <apex:actionStatus startText="applying value..." id="status"/>
                       </apex:outputPanel>
                  </apex:pageBlockSectionItem>
              </apex:pageBlockSection>
          </apex:actionRegion>
            <apex:pageblockTable value="{!PrinterDetails}" var="printers" id="table">
                <apex:column value="{!printers.name}" headerValue="Serial Number"/>
                <apex:column value="{!printers.Address_Name__c}" headerValue="Address Name"/>
            </apex:pageblockTable>
        </apex:pageBlock>
    </apex:form>
</apex:page>

 

 

i have to login into salesforce  org by an html page outside the salesforce....please giv some suggestion what to do for it ...n  i have to include below file

<script src="/soap/ajax/11.0/connection.js"></script>
<script src="/soap/ajax/11.0/apex.js"></script>

 should i have to download it ...? from where