• vandana.midha@ivanik.com
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies

Hello Everyone,

 

Actually, am designing reports on visualforce page, not using Standard reports of salesforce. i want to implement button name Export to Excel. am not getting anything to implement the same. If anyone know the coding for export button pls post the code.

 

Pls help me for the same.

 

 

Thanks In Advance

 

Hello Everyone,

 

 

am facing two problems, if anyone know the solution pls reply................

 

1. how we can add lookup filter criteria for particular record type? i.e  i want the criteria on lookup field in one record type layout but not in another. there is one lookup field in my object and how can i do this????

 

2. how to fetch records of lookup field at runtime? i.e. i want when i select id from lookup field other values of that object display on same screen on standard page???

 

How to do the same............. plsssssssssss reply........ its really urgent.....

 

 

Thanks In advance,

Hi ,

 

I want to create a application that will help in creating time tables so Is there any way I can use my drag and drop facility to create that ?

 

or any other suggestions for the same.

 

Regards

Vandana

Hi ,

 

I want to attach softphones with one of my application since my client wants to us this as a registration center.

 

Can anyone help me out with the best soft phones or messengers available and their integration with their rates and the softwares associated? He basically wants the recording and automatic answering to add .

 

Regards

Vandana

 

 

 

 

Hi ,

 

I want to create a application that will help in creating time tables so Is there any way I can use my drag and drop facility to create that ?

 

or any other suggestions for the same.

 

Regards

Vandana

Hi All,

 

I am having trouble creating an edit page using Visualforce.  We created a visualforce page for a custom object and have assigned this visualforce page for the custom object page layout.  We want to create a visualforce page for the edit function as well but I am having issues creating this.  I think we may need to create a controller extension but I am not sure. Here is the sample code we have for our page layout. All we want is to allow this page layout to be edited using a visualforce page.

 

 

 

<apex:page standardController="Sharing_ES__c">
	<apex:sectionHeader title="{!$ObjectType.Sharing_ES__c.label}" subtitle="{!Sharing_ES__c.name}"/>
	<apex:pageBlock title="{!$ObjectType.Sharing_ES__c.label} Detail">
		<apex:pageBlockButtons >
		<apex:form >
			<apex:commandButton action="{!edit}" value="Edit"/>
			<apex:commandButton action="{!delete}" value="Delete"/>
			<apex:commandButton action="{!URLFOR($Action.Sharing_ES__c.Clone,Sharing_ES__c.id)}" value="Clone"/>
		</apex:form>
		</apex:pageBlockButtons>
		<apex:pageBlockSection showHeader="false" columns="2">
			<apex:outputField value="{!Sharing_ES__c.Name}"/>
			<apex:pageBlockSectionItem >
				<apex:outputLabel value="Custom Sharing Owner"/>
				<apex:outputPanel >
					<apex:outputField value="{!Sharing_ES__c.OwnerId}"/>&nbsp;
					<apex:outputLink value="{!URLFOR($Action.Sharing_ES__c.ChangeOwner,Sharing_ES__c.id)}">[Change]</apex:outputLink>
				</apex:outputPanel>
			</apex:pageBlockSectionItem>
			<apex:outputField value="{!Sharing_ES__c.Sharing_Type__c}"/>
			<apex:outputField value="{!Sharing_ES__c.Account__c}"/>
			<apex:outputField value="{!Sharing_ES__c.Record_Type__c}"/>
			<apex:outputField value="{!Sharing_ES__c.isActive__c}"/>
			<apex:outputField value="{!Sharing_ES__c.Access_Type__c}"/>
			<apex:outputField value="{!Sharing_ES__c.Description__c}"/>
			<apex:outputField value="{!Sharing_ES__c.User__c}"/>
			<apex:pageBlockSectionItem />
			<apex:outputField value="{!Sharing_ES__c.Group__c}"/>
			<apex:pageBlockSectionItem />
		</apex:pageBlockSection>
		<apex:pageBlockSection showHeader="false" columns="2">
			<apex:outputField value="{!Sharing_ES__c.CreatedById}"/>
			<apex:outputField value="{!Sharing_ES__c.LastModifiedById}"/>
		</apex:pageBlockSection>
		<apex:pageBlockSection showHeader="true" title="Custom Links" columns="3">
		</apex:pageBlockSection>
	</apex:pageBlock>
</apex:page>
			

 

 

Hello Experts,

I am in progress of customizing the standard partner page of salesforce due to some custom requirement

Standard Partner page:



Here each textbox fields are attached with Account Name lookup field.

Similarly when I started creating my custom Partner VisualForce page, and when i click on second look up button which is next to second textbox field and select any account name, it always update first textbox field value only. Now I am not sure how to handle multiple lookup field on same object field using VisualForce? Any help in order to resolve this issue would higly appriciated.

Page Editor Code:

<apex:page controller="webdev" tabStyle="Partner">
<apex:sectionHeader title="Partner"/>
  <apex:form >
  <apex:pageBlock title="Partner Edit">        
         <apex:panelGrid columns="5" width="30%">
                <apex:outputLabel > &nbsp;&nbsp;&nbsp; </apex:outputLabel>
                <apex:outputLabel > &nbsp; </apex:outputLabel>
                <apex:outputText value="Primary"/>
                <apex:outputText value="Partner"/>
                <apex:outputText value="Role"/>
         </apex:panelGrid>
         <apex:panelGrid columns="3" width="30%">
             <apex:outputLabel > &nbsp; </apex:outputLabel>
            
             <apex:inputField value="{!Opportunity.AccountId}" />
             <apex:selectList value="{!partnerRoles}" size="1">
            <apex:selectOptions value="{!roles}"/>
                </apex:selectList>
               
                <apex:outputLabel > &nbsp; </apex:outputLabel>
               
                <apex:inputField value="{!Opportunity.AccountId}" />
        <apex:selectList value="{!partnerRoles}" size="1">
            <apex:selectOptions value="{!roles}"/>
                </apex:selectList>
               
         </apex:panelGrid>
         <apex:facet name="footer">
            <apex:commandButton value="Save" action="{!savePartnerData}" />
        </apex:facet>
    </apex:pageBlock>
  </apex:form>
</apex:page>

Page Controller Code:

public class webdev {
//public string partnerRoles{get;set;}
Opportunity opportunity;
String partnerRoles;

    public String getPartnerRoles () {
      return partnerRoles;
    }

    public void setpartnerRoles (String partnerRoles ) {
        this.partnerRoles  = partnerRoles ;
    }
 
   public PageReference savePartnerData() {
      PageReference opptyPage = new PageReference('http://www.google.com/?newid=' + Opportunity.AccountId);
      return opptyPage ;
   }
  
   public Opportunity getOpportunity() {
        if(opportunity == null) opportunity = new Opportunity();
            return opportunity;
    }

    public List<SelectOption> getRoles() {
          List<SelectOption> options = new List<SelectOption>();
          PartnerRole[]  partnerRole = [Select  MasterLabel from PartnerRole  where CreatedById <> null];
          options.add(new SelectOption('--None--','--None--'));
          for(Integer i=0;i<partnerRole.size();i++)
          {
              options.add(new SelectOption(partnerRole[i].MasterLabel,partnerRole[i].MasterLabel));
          }
        return options;
      }
}
Hi,
Is there any way to lock or make it read only a record based on an activity.
For example I would like to lock/make the record read only the Job Application record for all users after an activity is completed.

R

  • March 20, 2008
  • Like
  • 0