• REK
  • NEWBIE
  • 25 Points
  • Member since 2010

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 26
    Questions
  • 22
    Replies
Hi , I set The Console VF Page Tab Name As "Case Creation" But It Ovewrites after Case Saved and Where I want to display The Name of Th Record.
<apex:page standardController="Case" extensions="consoleTab"  sidebar="true" showHeader="true" >

 <apex:form >   
      <apex:includeScript value="/support/console/26.0/integration.js"/>
      <script type="text/javascript"> 

        <body onload="testSetTabTitle()"/>

          </script>
        <apex:commandLink value=" Create New Case" action="{!goToCaseEditPage}" />      
       <br></br>
    </apex:form>              
    <apex:includeScript value="/support/console/35.0/integration.js"/>
    <script type="text/javascript">
        var g_subId;
        function testGetFocusedSubtabId() {
            sforce.console.getFocusedSubtabId(showTabId);
        }
        var showTabId = function showTabId(result) {
                 g_subId = result.id;
              };
        function testSetTabTitle() {
            //Set the current tab's title
            sforce.console.setTabTitle('Case Creation');
        }
        function testOpenSubtab() {
            sforce.console.getEnclosingPrimaryTabId(openSubtab);
        }

        var openSubtab = function openSubtab(result) {
             var primaryTabId = result.id;
            sforce.console.openSubtab(primaryTabId , '/500/e?cas7=Escalated&cas11=Phone', true, '', g_subId, openSuccess, null);
        };


    </script>
</apex:page>
  • June 09, 2016
  • Like
  • 0
Hi When I tried to login with developer org credentials to Power of us hub , getting below 
Error: You have logged in from a Developer Edition org not registered with Salesforce.org, which is not allowed.

I am not sure where am i doing wrong ?

Please let me know 

Thanks
  • February 01, 2016
  • Like
  • 0
Hi When I tried to login with developer org credentials to Power of us hub , getting below
Error: You have logged in from a Developer Edition org not registered with Salesforce.org, which is not allowed.

I am not sure where am i doing wrong ?

Please let me know 

Thanks
 
  • February 01, 2016
  • Like
  • 0
Hi I am a system administrator with user license Salesforce

and i am trying to add permission set for wave analytics as mentioned in this page analytics https://developer.salesforce.com/trailhead/wave_analytics_explorer/wave_analytics_basics/wave_set_up_wave

and i am getting this error when assigning :

Can't assign permission set Wave analytics Manager to user rekha nallam. The user license doesn't allow the permission: Manage Wave Analytics

i have given very basic access and still throwing error message, please let me know where i am going wrong
Can't assign permission set Wave analytics Manager to user rekha nallam. The user license doesn't allow the permission: Use Wave Analytics
 
  • December 16, 2015
  • Like
  • 0
Hi All

Can any one help me , 
without disturbing standard functionality of account team related list , need on inline vf as I need to show 3 more fields on inline 

example:  team member : data user, team role : Accouunt Manager - this is standard related  list 

but for me need to add two more fields which from user oobject say user email and user id  on the same related list 

so can any one help me on this VF code?


  • April 04, 2014
  • Like
  • 0

Hi

 

I have a situation here

I need to send an email to sales team member based on Custom Object Status which is related to Quotes (Quotes are linked with Opportunity), Implemented work flow emailalert ,, But the email is not going to Sales Team member

Is there any limit for this?

 

Regards

Rekha.N

  • June 07, 2013
  • Like
  • 0

I need a functionality on Opportunity

 

Which shows only Save button on one Record Type for other Record Types - It should show Save& Add product

 

 

So on overriding New button with VF is it possible to show only Save Button for one page layout ?

 

If any possible way .......to do so

  • April 03, 2013
  • Like
  • 0

Hi

I am getting No Records in the page showing No Units to display
can any one help me in this

I have created a Button and calling the below VF :
I have the following code for VF and Controller
++++++++++++++++++++Page++++++++++++++++++++
<apex:page StandardController="Project__c" extensions="Add_Units_Site_Project">
 <apex:form >
 <apex:outputPanel >
  <apex:pageBlock id="pageblock">
 
     <apex:pageBlockButtons >         
     <apex:commandButton Value="Process Selected Units" onclick="return validateSelection1();"/>
     <apex:commandButton Value="Go Back" action="{!cancel}" />
     </apex:pageBlockButtons>
     
     <apex:pageBlockSection title="Unit Events" id="unitevents" columns="1" collapsible="true" >
     
     
     
     <apex:pageBlockTable value="{!uniteventlist}" id="TableData" var="u">
     <!--rendered="{!NOT(ISNULL(uniteventlist))}"   -->
     
     <apex:column headerValue="Select All" >    
     <apex:facet name="header">
     <apex:inputCheckbox id="chkSelectAll"  title="Select All" value="{!chkFlag}">
     <apex:actionSupport event="onclick" action="{!chkAllBox}" />
     </apex:inputCheckbox>
     </apex:facet>
     <apex:selectCheckboxes value="{!Selected}" id="ids" >
     <apex:selectOption itemvalue="{!u.ID}"  />
     </apex:selectCheckBoxes>
     </apex:column>
     <apex:column headerValue="Unit Event Id"><apex:outputField value="{!u.Otg_ID__c}"/></apex:column>
     
     <apex:column headerValue="Outage Type"> <apex:outputField value="{!u.Otg_Type__c}"/></apex:column>
     <apex:column headerValue="Outage Quarter"> <apex:outputField value="{!u.Otg_Qtr__c}"/></apex:column>
        
     </apex:pageBlockTable>
     <apex:outputLabel value="No Units are available for this Site Outage Project Account" rendered="{!NoOfUnits == 0}"> </apex:outputLabel>
     
     </apex:pageblocksection>
     
     <apex:pageBlockButtons location="bottom" rendered="{!NOT(ISNULL(uniteventlist))}">
        <table width="100%"  rendered="{!NOT(ISNULL(uniteventlist))}"><tr></tr><tr><td align="left">
        <apex:commandLink value="<< First" action="{!getFirst}" reRender="pageblock" rendered="{!hasFirst}" />
        <apex:outputText value="<< First" rendered="{!NOT(hasFirst)}" /> &nbsp;
        <apex:commandLink value="< Previous" action="{!getPrev}" reRender="pageblock" rendered="{!hasPrev}" />
        <apex:outputText value="< Previous" rendered="{!NOT(hasPrev)}" /> &nbsp;
        <apex:commandLink value="Next >" action="{!getNext}" reRender="pageblock" rendered="{!hasNext}" />
        <apex:outputText value="Next >" rendered="{!NOT(hasNext)}" /> &nbsp;
        <apex:commandLink value="Last >>" action="{!getLast}" reRender="pageblock" rendered="{!hasLast}" />
        <apex:outputText value="Last >>" rendered="{!NOT(hasLast)}" /> &nbsp;
        </td><td align="right">
        <apex:outputText >Records {!StartRec}-{!EndRec} of {!NoOfUnits} </apex:outputText>
        </td></tr></table>
     </apex:pageBlockButtons>
    
     
  </apex:pageBlock>
  </apex:outputpanel>
 </apex:form>
 
  <script type="text/javascript">

    var selectedCount = 0;  
    function validateSelection1()
    {        
        var inputElem = document.getElementsByTagName("input");
        for(var i=0; i<inputElem.length; i++)
        {
        
        if(inputElem[i].id.indexOf("ids")!=-1 || inputElem[i].id.indexOf("chkSelectAll")!=-1)
        {
            if(inputElem[i].checked==true)
            {
            selectedCount=1;
            }
        }   
    }
     if(selectedCount == 0)
      {
          alert('Select a Unit to add to the Site Outage Project ');
          return false;
      }
        return true;
    }  

  </script>

</apex:page>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
And the Controller as follows :
++++++++++++++++++Contoller +++++++++++++++++++++++++++++++++++
Public Class Add_Units_Site_Project{

Public Project__c proj {get;set;}
//Public Installed__c IB {get;set;}
//Public Outage_c units {get;set;}
Public List <Installed> IBlist = new List <Installed>();
Public List <Outage__c> Units = new List <Outage__c>();
Private String projid;
Public String Accid;
Public Integer NoOfUnits{get;set;}
Private Integer NextCount=0;
Public Integer NoOfRows=20;
Public Boolean hasNext{get;set;}
Public Boolean hasPrev{get;set;}
Public Boolean hasFirst{get;set;}
Public Boolean hasLast{get;set;}
Public Integer StartRec{get;set;}
Public Integer EndRec{get;set;}
Public void getNext()
    {
        if(NextCount+NoOfRows <= NoOfUnits)
            NextCount+=NoOfRows;
        else
            NextCount = NoOfUnits - NoOfRows;
    }
    Public void getPrev()
    {
        if(NextCount-NoOfRows >=0)
            NextCount-=NoOfRows;
        else
            NextCount=0;
    }
    Public void getFirst()
    {
        NextCount=0;
    }
    Public void getLast()
    {
        NextCount=NoOfUnits - NoOfRows;
    }

    public Add_Units_Site_Project(ApexPages.StandardController controller) {
       //Fetching the Current Record ID
         projid =ApexPages.currentPage().getParameters().get('id');
         proj =[select id,name,Account__c,Account__r.id,Account_Name__c,RecordTypeid from Project__c where id =: projid];        
         
         //Fetching Current Record Account ID
         Accid = [select id,name from Account where id =:proj.Account__c].id;
         
         IBlist = [Select id,name,Account__r.id from Installed__c where Account__c = : Accid];
         Units = [Select id,name,S_N__c,Site_Outage_project__c from Outage__c where S_N__c in : IBList ];
         
    }
    
 public List<Outage__c> uniteventlist= new List<Outage__c>();
 public List<Outage__c> getuniteventlist() {

    if(uniteventlist.size()==0)
        return null;
   
    For(Integer i=0; i<NoOfRows && NextCount+i < NoOfUnits; i++)
    {
       Units.add(uniteventlist[NextCount+i]);
    }
     if(NextCount <= 0)    
            {
                hasFirst=False;
                hasPrev=False;
            }
            else
            {
                hasFirst=True;
                hasPrev=True;
            }
            if(NextCount >= (NoOfUnits - NoOfRows))
            {
                hasLast=False;
                hasNext=False;
            }
            else
            {
            
                hasLast=True;
                hasNext=True;
            }

            StartRec=(NoOfUnits == 0)?0:NextCount+1;
            if(StartRec+NoOfRows > NoOfUnits)
                EndRec=NoOfUnits;
            else
                EndRec=StartRec+NoOfRows -1;
     
    if(Units.size()>0)
        return Units ;
    else { return null; }
 
    }
 public boolean chkFlag{get; set;}
    
    public void chkAllBox()
    {
        if(chkFlag == true)
        {
            for(outage__c unitevnts : uniteventlist )
            {
                Selected.add(unitevnts.id);
            }
        }
        else
        Selected.clear();
    }
    public id[] selected = new  id[]{};
    public id[] getSelected()
    {
       return Selected;
    }
    public void setSelected(id[] selected)
    {  
       if(chkFlag == false)
       this.Selected.addAll(selected);
    }



}

  • May 25, 2012
  • Like
  • 0

Hi All

 

I have approval Processesses for each Sales region , I am assigning email receipents by a Queue for each Region.

 

But I want to Assign CC list also, to know other Regions People .

 

Is it done automatically? or there is any solution of sending Email for To list (who are in Queue) and CC ing immediately like as after clicking the button Submit for approval .

 

And also If we Submit approval for One Sales REgion say like as Asia then Other Sales Regions Should be in CC  List.

 

Thanks in Advance.

 

Regards

Rekha

 

 

  • October 05, 2011
  • Like
  • 0

Hi

 

I want to know how to impliment this:

 

One' A'  Pick list is editable only when another ' B' Pick list value becomes "Yes". and

  Validation should fire when B picklist is having Yes and A is blank.

 

 

Regards

Reddy

 

  • September 28, 2011
  • Like
  • 0

Need help to write a trigger based on the following 

 

Trigger which will work on opptylineitem insert/delete which will compare the lowest threshold(currency field on Product) from all the products with the total oppty amount. If total oppty amount is greater than or equal to the lowest threshold on any of the products attached then populate the picklist field say ("Does oppty amount exceeds threshold") on custom object record linked to oppty to Yes.

 

Regards

Rekha

  • September 19, 2011
  • Like
  • 0

Need Help,

my scenario is when Proposal object status(a field on Proposal object) is Won,then New order button is displayed on Order Relatedlist.Proposal and Order are Custom objects and New Order button is Standard on Order page.

 

How can i populate NewOrder button when Proposal status is won.

  • April 07, 2011
  • Like
  • 0

I have one lookup for User  in custom object as well as in Opportunity object.

 

Want to copy that user from opportunity to custom object through Trigger.

 

can anyone help in this.

 

Thanks in advance.

 

  • March 22, 2011
  • Like
  • 0

Can any one tell what is console? and When it is used?

  • December 03, 2010
  • Like
  • 0

Can any one tell ,What is the maximum size or limit for uploading content?

  • November 18, 2010
  • Like
  • 0
writing trigger to update a field when a record is inserted in open activities and activity history.
  • September 17, 2010
  • Like
  • 0

Hi All,

I developed a VF Page which contains details of some data as tables,and it has a "Export To Excel" Button.Actually on click of that button we need to export all those details in to excel sheet. It is done.After these things exorting to an excel some duplicate Rows  occured . How can we remove that duplicate rows in that excel sheet after exporting it? 

  • September 06, 2010
  • Like
  • 0

can any one help on this?

 

1.When a certain Criteria (say for picklist value)meets the approval goes to only the specific assigned users in that Queue.

for opportunity is it possible to create queue ?

if not y?

 

  • September 02, 2010
  • Like
  • 0

Hello ...Hi ALL,

 

 

I just want to know is it possible to send an email through Apex trigger?If so

can u give me the example?

 

 

Scenario of mine is:If  contact is created ,i have to send an email to that contact ?through trigger

\

 

Thanks in Advance

 

Regards,

REKHA.N

  • August 18, 2010
  • Like
  • 0

 

Can any one help me out of this problem?

this is the requiremnt: 

During contact creation process we need to enforce users to accept Legal  Disclaimer. Once users accepts the legal disclaimer we need to allow them to create Contact and then system is going to predefault and lock "Opt in" flag to 'N' and   "DO Not Email", "Do Not Mail" , "Do Not FAX" flags to "Y" . We need to enable users to use Contact opt In process. This contact Opt in process will allow users to send opt In email to customer, this email will have opt in and opt out link for the customer. If the user choose to opt in, this will be an inbound email to SFDC which drives the update to 'Opt In" flag to "Y" and in  turn update ""DO Not Email", "Do Not Mail" and "Do Not FAX" flags to "N". Else "Opt In","DO Not Email", "Do Not Mail" and "Do Not FAX" flags remains 'N".

 

 

For this what is the solution?

 

 

Regards&Thanks,

REKHA.N

  • August 17, 2010
  • Like
  • 0
HI Thanks in advance,

How to Convert single button as Save & Export as Excel sheet in local machine , I want Convert Save button as multi actions.

User-added image
This above page allows the user enter text data when user clicks on save button it will save data & export data in Excel sheet. Please help me over this code. i want controller clas for this . please share workable Apex code for this.
 
<apex:page sidebar="false" StandardController="Account" standardstylesheets="false" rendered="true" docType="html-5.0">
  <apex:form > 
            <apex:pageBlock >
                <apex:pageBlockButtons >
                    <apex:commandButton action="{!save}" value="Save"/>
                </apex:pageBlockButtons>
      <table id="newspaper-b" border="" width="100%">    
          <thead>  
                
             <tr>
                <td>Value1</td>
                <td>Value2</td>      
                <td>Adding Value</td>
            </tr>                    
          </thead>
         <tr>
           <td><apex:inputText style="width:60px;height:20px"/></td>                
            <td><apex:inputText style="width:60px;height:20px"/></td>
            <td><apex:inputText style="width:60px;height:20px"/></td>                 
          </tr>
          
         <tr>
            <td><apex:inputText style="width:60px;height:20px"/></td>      
            <td><apex:inputText style="width:60px;height:20px"/></td>
            <td><apex:inputText style="width:60px;height:20px"/></td>                   
          </tr>
          
         <tr>
            <td><apex:inputText style="width:60px;height:20px"/></td>      
            <td><apex:inputText style="width:60px;height:20px"/></td>
            <td><apex:inputText style="width:60px;height:20px"/></td>
         </tr>
        </table>
       </apex:pageBlock>
</apex:form>
</apex:page>

I have used both Controller class & Vf page unable to Export the data. Please share the code if you have.

Thanks
 
Hi All

Can any one help me , 
without disturbing standard functionality of account team related list , need on inline vf as I need to show 3 more fields on inline 

example:  team member : data user, team role : Accouunt Manager - this is standard related  list 

but for me need to add two more fields which from user oobject say user email and user id  on the same related list 

so can any one help me on this VF code?


  • April 04, 2014
  • Like
  • 0

Hi,

 

We have a custom object (Supplier) that can be related to Case via a lookup.

 

Would like to set the Case currency the same as the Supplier, when a Supplier is chosen.

 

Doesnt seem to be possible via Workflow / Formula?

 

Just wanted to check if anyone else had come up against this and managed to do it declaritively? Otherwise I think it should be fairly simple via a Trigger.

 

Cheers,

Tom

Please forgive me if this isn't the proper board to ask this.

 

I am wondering if it is possible to search by metadata fields in the SFDC case portal. On our instance, we use fields such as "status", "priority", "community", and "contact" and we are wondering if there is a way to query a result set based on the content within these fields.

 

For example, if I want to search for all cases that have a priority of 3, a contact of "John Smith", and a subject of "pickle", I would type something like: "priority:3 contact_name:john smith subject:pickle". Does anyone know if this is possible and if so, what syntax should be used? I haven't been able to find much information on this thus far, and the example above doesn't work.

 

Thanks much for your assistance!

 

Brad

  • May 25, 2012
  • Like
  • 0

We have a custom field on contracts for "Contract Type" that we eventually want displayed on any opportunities associated with related account. I had thought the first step would be to have the contract type displayed on the account as a text and then have a cross object formula roll that down to the opportunities (and ultimately several custom objects related to the opportunities).

 

My question is how to have the contract type roll up from contracts onto the account. I know I can have that displayed in the contracts related list on the accounts page, but there's no way from there to roll it down to the opportunity.

 

Another hiccup is that there could be multiple contracts of varying types on one account and we would like to list all of the types on the account.

 

Would appreciate any suggestions! Thanks!

  • May 25, 2012
  • Like
  • 0

 

I have created a custom button to create a New Opportunity and I'd like to pass in the Account Name, but am not sure how.  Here is the code I have in my visualforce page.  I think I need to add additional paramaters to the !URLFOR part, but if someone could help me out I'd appreciate it!  Thanks.

 

<apex:page standardController="Account" extensions="AccountExt" sidebar="false" showHeader="false">
    <script>
      function doRedirect()
      {
       window.parent.location.href = '{!URLFOR($Action.Opportunity.New)}';
     }
    </script>
    <apex:form >
    <apex:pageBlock title="Opportunities">
        <apex:pageBlockButtons location="top">
            <apex:commandbutton onClick="doRedirect()" value="New Opportunity"/>
        </apex:pageBlockButtons>
        <apex:pageBlockTable value="{!AllOpportunities}" var="item">
            <apex:column headervalue="Opportunity Name">
                <apex:outputLink value="/{!item.Id}" target="_parent"><apex:outputField value="{!item.Name}" /></apex:outputLink>
            </apex:column>
            <apex:column value="{!item.StageName}" />               
            <apex:column value="{!item.Amount}" />
            <apex:column value="{!item.CloseDate}" />
            <apex:column value="{!item.OwnerId}" />
        </apex:pageBlockTable>
    </apex:pageBlock>  
    </apex:form>
</apex:page>

 

Hi All

 

I have approval Processesses for each Sales region , I am assigning email receipents by a Queue for each Region.

 

But I want to Assign CC list also, to know other Regions People .

 

Is it done automatically? or there is any solution of sending Email for To list (who are in Queue) and CC ing immediately like as after clicking the button Submit for approval .

 

And also If we Submit approval for One Sales REgion say like as Asia then Other Sales Regions Should be in CC  List.

 

Thanks in Advance.

 

Regards

Rekha

 

 

  • October 05, 2011
  • Like
  • 0

Need help to write a trigger based on the following 

 

Trigger which will work on opptylineitem insert/delete which will compare the lowest threshold(currency field on Product) from all the products with the total oppty amount. If total oppty amount is greater than or equal to the lowest threshold on any of the products attached then populate the picklist field say ("Does oppty amount exceeds threshold") on custom object record linked to oppty to Yes.

 

Regards

Rekha

  • September 19, 2011
  • Like
  • 0

Need Help,

my scenario is when Proposal object status(a field on Proposal object) is Won,then New order button is displayed on Order Relatedlist.Proposal and Order are Custom objects and New Order button is Standard on Order page.

 

How can i populate NewOrder button when Proposal status is won.

  • April 07, 2011
  • Like
  • 0

I have one lookup for User  in custom object as well as in Opportunity object.

 

Want to copy that user from opportunity to custom object through Trigger.

 

can anyone help in this.

 

Thanks in advance.

 

  • March 22, 2011
  • Like
  • 0

Can any one tell ,What is the maximum size or limit for uploading content?

  • November 18, 2010
  • Like
  • 0

My requirement as follows...

 

 

 

1. There are 2 fields on Oppty - Stage and Disposition Reason. Disposition Reason is dependent on Stage. (already built)

2. The following action should happen whenever Stage is any of the values with the word "Closed", so closed won, closed lost etc.

3.  Say I choose Stage as Closed Won, and Disposition as Cyhicle.
4. On the Oppty Prod Line item related list i.e (Products), all products where Primary Quote = TRUE, the Stage and Disposition Reason should be updated with the values chosen on the Oppty. Please note ALL line items should be updated and the condition is Primary Quote field is checked. So, prodcut should also have Stage as Closed Won, and Disposition as Cycle.

Hint - there should be a apex trigger written on the Oppty Object and it should run on AFTER INSERT and AFTER UPDATE functions.

Thanks

 

Rekha

  • June 15, 2010
  • Like
  • 0