• prad_p25
  • NEWBIE
  • 0 Points
  • Member since 2006

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 28
    Questions
  • 9
    Replies

I am planning to develop an application using standard objects of chatter but the UI and most of the features will be custom built. I want my customers to use this application from my website (may be through a button). I am currently using sales cloud. do I need to need to puchase chatter plus license for my customer or chatter free will work. or I need to buy force.com licenses for all the customers of mine.

Looking for a 201/ 401 certified admin/developer for Kolkata location. contact on 9836988889 asap

trying to create a VF page on adding product. the erroe is

Error: The element type "apex:pageblocktable" must be terminated by the matching end-tag "</apex:pageblocktable>". 

 

<apex:page standardController="opportunity" extensions="Opportunity_AddProductSet">
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery-ui.min.js"/>

<apex:sectionHeader title="Add Product Set" subtitle="(!Opporunity.Name)">

  <apex:form id="selectProductSet">
  <!---error messagess-->
  <apex:pageMessage rendered="{!ISBLANK(opportunity.pricebook2.name)}" strength="3" severity="Error" title="Missing Pricebook" summary="Please select a pricebook">
  </apex:pageMessage>
    <apex:pageBlock title="Available Product Sets" mode="edit">
        <apex:pageBlockButtons location="top">
             <apex:actionStatus id="selectProductSetStatus">
               <apex:facet name="start">
                <apex:outputPanel layout="block">
                <apex:commandButton value="Save & Return" disabled="true"/>
                <apex:commandButton value="Cancel" disabled="true"/>
                <apex:image value="/img/loading.gif"/>
                </apex:outputPanel>
                </apex:facet>
             <apex:facet name="stop">
               <apex:outputPanel layout="block" style="vertical-align: middle;">
               <apex:commandButton value="Save & Return" action="(!Save)" disabled="(!productSetCount == 0)"/>
               <apex:commandButton value="Cancel" action="(!cancel)"/>

               <apex:outputPanel layout="block" style="float: right; padding-right: 1en;">
               <apex:inputText value="{!filterCriteria}" style="text-align: center;" disabled="{!productSetCount==0}"/>
               <apex:commandButton value="Filter" action="(!filterCriteriaChanged)" rerender="selectProductSet" status="selectProductSetStatus" disabled="(!ProducSetCount==0)"/>
               </apex:outputPanel>
               </apex:outputPanel>
             </apex:facet>
          </apex:actionStatus>
       </apex:pageBlockButtons>
<apex:pageBlockSection columns="1" collapsible="false" rendered="{!ISBLANK(productSetId)}">
    <apex:pageBlocktable var="productSet" value="{!productSetList}" rendered="{!productSetCount != 0}">
        <apex:column styleClass="actionColumn" headerClass="actionColumn" footerClass="actionColumn"/>
         <apex:facet name="header">Actions</apex:facet>
         <apex:commandLink styleClass="actionLink" value="Select" action="{!selectedProductset}" reRender="selectproductSet" status="selectproductSetStatus"/>
         <apex:param name="selected" value="{!productSet.Id}"/>
         </apex:commandLink>
       
         <apex:column value="{!productSet.Name}"/>
         <apex:column value="{!productSet.Campaign__r.Name}"/>
         <apex:column value="{!productSet.Region__c.Name}">
      <apex:column value="{!productSet.Total_Products__c.Name}"/>
      </apex:pageBlocktable>

   <apex:outputText value="No records to display." rendered="(!productSetCount == 0)" />
  </apex:pageBlockSection>
     
 <!--this setion is shown only after product is selected -->
 <apex:pageBlockSection title="Selected Product set" columns="2" collapsible="false" rendered="{!NOT(ISBLANK(productsetId))}">
 <apex:outputField value="{!productSet.Name"/>
 <apex:outputField value="{!productSet.Total_Products__c"/>
 <apex:outputField value="{!productSet.Campaign__c"/>
 <apex:outputPanel>
 <apex:outputField value="{!productSet.region__c"/>
 </apex:outputPanel>
 </apex:pageBlockSection>
 <apex:pageBlockSection title="Associated Products" columns="1" collapsible="false" rendered="{!NOT(ISBLANK(productSetId))}">
 <apex:pageBlockTable var="productSetItem" value="{!productsetItemList}">
      <apex:column value="{!productSetItem.Product__r.Name}"/>
      <apex:column value="{!productSetItem.Product_Code__c.Name}"/>
      <apex:column value="{!productSetItem.Product_Family__c.Name}"/>
      <apex:column value="{!productSetItem.Product_Quantity__c.Name}"/>
     <apex:column value="{!productSetItem.Product_Discount__c.Name}"/>
     </apex:column>
 </apex:pageBlockTable>
 </apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>

Hi,

I am trying to create an event from a button on lead details page. I am trying this through URL but what I want is to pass a fixed OwnerID (assigned to) for all the events that are created clicking that button.

here is my url but this is not showing ownerid as it mentioned. It is always showing the the owner as the person creating it. Also let me know if a Visualforce page will be a better option for this.

https://emea.salesforce.com/00U/e?&retURL=%2F{! Lead.Id }&ownerID={00520000001Orov}&whoId={! Lead.Id }

 

regards,

PB

 

 

i am trying to create a trigger from lead after update. The should create a task and update 2 task field.

 

trigger Lead_taskreminder_update on Lead (after update)
{
  list<Task> lNewTasks = new list<Task>();
  for(integer i=0; i<trigger.new.size(); i++)
  {
     lNewTasks.add (MyTask = new Task(
       Subject = 'Please call this lead',
       WhoID = trigger.new[i].id,
       ReminderDateTime = Lead.Call_Back_Date_Time__c,
       Description = Lead.Customer_Notes__c ));
   }
   insert lNewTasks;
}

 

I am getting following error

 Error: Compile Error: Variable does not exist: MyTask at line 6 column 21 

 

I am not very good at coding but just trying to learn on apex coding. Please help.

Hi

 

I need help.

 

 When ever I create a lead I want to search unique org number in lead and account database? here is my code but i am getting error as Apex trigger blockDuplicates_tgr1 caused an unexpected exception, contact your administrator: blockDuplicates_tgr1: execution of AfterUpdate caused by: System.QueryException: List has no rows for assignment to SObject: Trigger.blockDuplicates_tgr1: line 36, column 22

 

 

 

trigger blockDuplicates_tgr1 on Lead bulk(after insert, after update) 
{
      /* 
       * begin by building a map which stores the (unique) list of leads 
       * being inserted/updated, using email address as the key. 
       */
      Map<String, Lead> leadMap = new Map<String, Lead>();
      for (Lead lead : System.Trigger.new) 
      {                
              if (lead.Organisation_Number_Norway__c != null) 
              {                
               /* for inserts OR  
                 * updates where the email address is changing 
                 * check to see if the email is a duplicate of another in 
                 * this batch, if unique, add this lead to the leadMap
                 */
                  if  ( System.Trigger.isInsert ||
                      (System.Trigger.isUpdate && 
                    lead.Organisation_Number_Norway__c != System.Trigger.oldMap.get(lead.Id).Organisation_Number_Norway__c)) 
                   { 
                            
                     if (leadMap.containsKey(lead.Organisation_Number_Norway__c))
                      {
                            lead.Organisation_Number_Norway__c.addError('Another Lead  or Account has the same Organisation Number.');
                      } 
                      else 
                      {
                          leadMap.put(lead.Organisation_Number_Norway__c, lead);
                      }
                   }
               
               }
               
               String leadOrgNR = lead.Organisation_Number_Norway__c;
               Account acc = new Account ();
               acc = [Select Organisation_Number_Norway__c from Account 
                                   WHERE Account.Organisation_Number_Norway__c =: leadOrgNR limit 1];  
                                   
               if (acc.Organisation_Number_Norway__c.equals(lead.Organisation_Number_Norway__c)) 
                 {
                       lead.Organisation_Number_Norway__c.addError('Another Lead or Account has the same Organisation Number.');
                    }
                
                    else 
                    {
                          // leadMap.put(lead.Organisation_Number_Norway__c, lead);
                    }
           
      }
          
 }

Hi,

 

I have two custom objects A& B. I want to populate the records that are marked as active in object A to object B.

What are possible ways I can do that?

 

Regards,

Pradip B

I am able to change the contact owner as a admin but when I logs into customer portal as a portal admin, I am able to create a contact but unbale to change the owner of the contact to another portal user. It is taking the ownerid as account ownerid by default. When I click on te change button it's showing insufficient preveledge. But when I check the profile I see contact has read, write and edit access to contact object as a portal admin.

 

Any help or anybody faced such issue.

I setup one  to many relation with contacts and a custom object  (customer) which is a replica of account object. Now I want to use customer portal and allow portal admin to link as many as customers to a contact. But when I try this in developer edition I can see a contact is still linked to a account and showing the hierarchy as per account owner.

 

Is there anyway I can hide the account field from contact layout and assign no account and assign as many as customers in the related list section of contact layout.

 

I should be also see this list of customers when I login as portal admin and should be able to further assign customers (which are assigned to portal admin only) to the contacts I created as portal users.

 

let me know is this possible by any means. 

I have typical problem. My buisness can have one contacts linked with many accounts. To build a many to many relationtionship I have created a junction object and it is working fine. But now I want to implemented customer portal and would like to see under each contacts all these multiple accounts. For this purpose I have included this junction object inside my customer portal and able to see list of accounts under a single contacts. But now when I click any of these accounts to see all the other details I cant see them and says insufficient access. I can only see the details of the account which was assigned to contact at the beginning.

 

Is there anyway I can see all the account details under each contacts and not just the one assigned at the begining of creating this contact.

 

It seems SFDC has lots of rigidity and not flexible in terms of business processes.

 

Anybody has any idea let me know.

 

PB

Hi,

 

I have created visual page which list out all the candidates lists with the jobs they have applied for. Now I want a link at the bottom of this list which says "export to pdf". which is another visualpage only. By clicking this link one can open the same page in pdf format.  I have tried with commandlink option but not working. Please suggest.

How can I create a roll up summary field on a formula field which I created from fields from multiple objects?

i am trying to create an roll up summany field for one of the custom object. The summary should be summation of amounts in line item. But I am unable to see the field "amount" to choose from list of fields for roll up summary. When I check the field accessibility , it shows read only becaz it is a formula field. Please suggest how can I make this " amount" field accessible while creating roll up summary

I am trying to show up user last login date in a visualpage  but its not showing. Any reason?

we have documents of more than 100 GB. So, I would like to know the possibility of storing these documents in a seperate database(may be oracle) and provide a link in Salesforce.com to access it. Please let me know how I can build this.

I want to setup customer portal but as per SFDC documents I can't see this below path. Please suggest. I have checked in developer and unlimited Sandbox version too.

 

Setup | Customize | Customer Portal | Settings

Hi ,

 

When I am trying to use my corporate network I am not able to connect to side “developer.force.com” but when I am trying to do it from out side I can reach the side within 8 hops.

 

I need help on this issue. Do I have to change /configure anything in SFDC to resolve this?

 

Regards,

Pradip

Hi ,

 

Could anyone  please tell me how to develop drop down menu under a tab in force.com?

 

Regards,

Pradip

Hi All,

 

I am a CRM consultant with over all exp of 10 years in on-demand CRM tools like SFDC and siebel-on-demand. Currently I have started my own CRM consulting firm focusing on SMB companies. Our services includes giving SFDC admin/configuration support as per agreed SLA, force.comdevelopment and cloud computing consultancy.

 

Our customers are our partners in growth, and we firmly believe that we can succeed only if our partners succeed and trust us.

 

Please feel free to contact us at saassofttech@gmail.com

 

Regards,

Pradip Banerjee

www.saassofttech.com

M: 91-9836988889

Hi ,

 

I am trying to create a sample visual page with recruitment application but when i try to show fields data from related list, I am getting the following error.

 

Error: Invalid field Job_application__r for SObject Position__c 

 

here is my code.

 

<apex:page standardController="Position__c" id="thePage">
<apex:form >
<apex:pageBlock >
<apex:pageMessages ></apex:pageMessages>
<apex:pageBlockButtons location="bottom">
<apex:commandButton action="{!save}" value="Save"></apex:commandButton>
<apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
</apex:pageBlockButtons>
<apex:pageBlockSection columns="1">
<apex:inputField value="{!Position__c.Department__c}">
</apex:inputField>
<apex:inputField value="{!Position__c.Job_Description__c}">
</apex:inputField>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock>
<apex:pageblockTable value="{!Position__c.Job_application__r}" var="JA">
<apex:column value="{!JA.Candidate__c}">
</apex:column>
<apex:column value="{!JA.Candidate_Qualified__c}">
</apex:column>
</apex:pageblockTable>
</apex:pageBlock>
</apex:form>
</apex:page>

 

 

Hi

 

I need help.

 

 When ever I create a lead I want to search unique org number in lead and account database? here is my code but i am getting error as Apex trigger blockDuplicates_tgr1 caused an unexpected exception, contact your administrator: blockDuplicates_tgr1: execution of AfterUpdate caused by: System.QueryException: List has no rows for assignment to SObject: Trigger.blockDuplicates_tgr1: line 36, column 22

 

 

 

trigger blockDuplicates_tgr1 on Lead bulk(after insert, after update) 
{
      /* 
       * begin by building a map which stores the (unique) list of leads 
       * being inserted/updated, using email address as the key. 
       */
      Map<String, Lead> leadMap = new Map<String, Lead>();
      for (Lead lead : System.Trigger.new) 
      {                
              if (lead.Organisation_Number_Norway__c != null) 
              {                
               /* for inserts OR  
                 * updates where the email address is changing 
                 * check to see if the email is a duplicate of another in 
                 * this batch, if unique, add this lead to the leadMap
                 */
                  if  ( System.Trigger.isInsert ||
                      (System.Trigger.isUpdate && 
                    lead.Organisation_Number_Norway__c != System.Trigger.oldMap.get(lead.Id).Organisation_Number_Norway__c)) 
                   { 
                            
                     if (leadMap.containsKey(lead.Organisation_Number_Norway__c))
                      {
                            lead.Organisation_Number_Norway__c.addError('Another Lead  or Account has the same Organisation Number.');
                      } 
                      else 
                      {
                          leadMap.put(lead.Organisation_Number_Norway__c, lead);
                      }
                   }
               
               }
               
               String leadOrgNR = lead.Organisation_Number_Norway__c;
               Account acc = new Account ();
               acc = [Select Organisation_Number_Norway__c from Account 
                                   WHERE Account.Organisation_Number_Norway__c =: leadOrgNR limit 1];  
                                   
               if (acc.Organisation_Number_Norway__c.equals(lead.Organisation_Number_Norway__c)) 
                 {
                       lead.Organisation_Number_Norway__c.addError('Another Lead or Account has the same Organisation Number.');
                    }
                
                    else 
                    {
                          // leadMap.put(lead.Organisation_Number_Norway__c, lead);
                    }
           
      }
          
 }

I setup one  to many relation with contacts and a custom object  (customer) which is a replica of account object. Now I want to use customer portal and allow portal admin to link as many as customers to a contact. But when I try this in developer edition I can see a contact is still linked to a account and showing the hierarchy as per account owner.

 

Is there anyway I can hide the account field from contact layout and assign no account and assign as many as customers in the related list section of contact layout.

 

I should be also see this list of customers when I login as portal admin and should be able to further assign customers (which are assigned to portal admin only) to the contacts I created as portal users.

 

let me know is this possible by any means. 

I have typical problem. My buisness can have one contacts linked with many accounts. To build a many to many relationtionship I have created a junction object and it is working fine. But now I want to implemented customer portal and would like to see under each contacts all these multiple accounts. For this purpose I have included this junction object inside my customer portal and able to see list of accounts under a single contacts. But now when I click any of these accounts to see all the other details I cant see them and says insufficient access. I can only see the details of the account which was assigned to contact at the beginning.

 

Is there anyway I can see all the account details under each contacts and not just the one assigned at the begining of creating this contact.

 

It seems SFDC has lots of rigidity and not flexible in terms of business processes.

 

Anybody has any idea let me know.

 

PB

Hi,

 

I have created visual page which list out all the candidates lists with the jobs they have applied for. Now I want a link at the bottom of this list which says "export to pdf". which is another visualpage only. By clicking this link one can open the same page in pdf format.  I have tried with commandlink option but not working. Please suggest.

How can I create a roll up summary field on a formula field which I created from fields from multiple objects?

i am trying to create an roll up summany field for one of the custom object. The summary should be summation of amounts in line item. But I am unable to see the field "amount" to choose from list of fields for roll up summary. When I check the field accessibility , it shows read only becaz it is a formula field. Please suggest how can I make this " amount" field accessible while creating roll up summary

Vandesys, registered consulting partner of Salesforce, is looking for exceptionally bright, organized, and self-directed Salesforce functional consultant.

The candidate should be able to:
- analyze customer’s current business process
- collect requirements with focus on process and productivity
- design, articulate solution, configure application, and document
- educate customers about best practices
- ability to work from home with some travel to customer site

The ideal candidate should have:
- business acumen with domain knowledge of marketing and lead management, sales process and pipeline management
- 1+ years experience with hands-on configuration of Salesforce.com application
- ability to take ownership of the project
- Salesforce.com authorization/certification will be a plus

Interested candidates, please forward your resume to: Careers@Vandesys.com
  • December 24, 2008
  • Like
  • 0
Is it possible to add an event to a public calendar via apex or the API in general?  I could try it myself, but it's much quicker to ask.

Once I've added an event to a public calendar via the standard UI, I can pull up the record in Apex Explorer etc. and see that it's put in the public calendar ID as the OwnerID, but don't know if apex will let me write that value directly.  (I've noticed that one quirk of the standard UI is that while I can create an event in the public calendar if I start from that calendar, I can't take an existing event and move it to a public calendar by typing the name of the calendar in the Assigned To field (which I assume corresponds to OwnerID.)   I want to make sure there aren't similar limitations on edits for apex.

And is there any way to pull up a list of public calendars and their ID's?  I don't see the object anywhere in the scema explorer.

Thanks much!

  • November 14, 2007
  • Like
  • 0