• sales force 4
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 13
    Questions
  • 1
    Replies
Hi all,
        we have developed an app, and we did managed package. Then after we will created a patch org.
in patch org when i click customize-->Tab Names and Labels-->Rename Tabs and Labels option it gives....

Insufficient Privileges
You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.

Click here to return to the previous page.

how to enable this feature in patch org??

 
In my Custom visual force page i have coded iframe like this: 
$("a#icsFrame8").click(function () { document.getElementById("myIFrame").src = '/apex/Samplepage?isdtp=mn';

But, After we did a BURP scan we passed URL parameter appears to be vulnerable to SQL injection attack error. Below it shows the Error:
GET /apex/SamplePage?id=a0Pb0000007FkR9EAK&isdtp=mn&137665543'%20or%20'4694'%3d'4694=1 HTTP/1.

Any body help me how to fix this..
Hi All,

Please let me know is it possible to display the custom visualforce page upon clicking the Approve/Reject Link on the record instead of  displaying standrad Salesforce Approve  page.

If it is  possible then please let me know how that could be acheived ???
Hi to all, i have created custom vf page, but in that i have to show only 2 different colors. Here i'm pasted my vf page and class..

vf page:

<apex:page controller="TestPageController">
  <html>

<apex:chart height="250" width="450" animate="true" legend="true" data="{!data}" >
    <apex:axis type="Gauge" position="left" margin="-10"
       minimum="0" maximum="10000" steps="2000" />
    <apex:gaugeSeries dataField="score" highlight="true" tips="true" donut="60"
        colorSet="#FF0000,#FACC2E,#31B404,#8A084B">

    </apex:gaugeSeries>   
</apex:chart>
</html>
</apex:page>

Controller is:

public class TestPageController {  

    public TestPageController(){

    }

    public List<gaugeData> getData() {
        double NPS_score = 0;
        Account score = [Select Id, Name, Amount_1__c, Amount_2__c,AnnualRevenue  From Account Where id='001i000000cxxM4' LIMIT 1];
         Account score1 = [Select Id, Name,  Amount_1__c From Account LIMIT 1];
        List<gaugeData> data = new List<gaugeData>();
        data.add(new gaugeData('AMT1', score.Amount_1__c));
        data.add(new gaugeData('AMT1', score.Amount_2__c));
        data.add(new gaugeData('AMT1', score.AnnualRevenue));



        return data;
    }
    public class gaugeData {
        public String name { get; set; }

        public decimal score { get; set; }



        public gaugeData(String name, decimal npsScore) {
            this.name = name;


            this.score = npsScore;

        }
    }
}

o/p: below screenshot
User-added image
BUT MY REQUIREMNT IS WE HAVE TO SHOW DIFFERENT COLORS LIKE THIS IN THE BELOW SCREENSHOT TO SHOW IN VISUAL FORCE PAGE....

I HAVE AN IDEA ABOUT THIS TO IMPLEMENT THROUGH 
Scalable Vector Graphics (SVG) SCRIPT, BUT I DONT KNOW THE PROCESS..

CAN ANY ONE HELP ME WITH SAMPLE CODE?????

I WANT GAUGE DASHBOARD LIKE THIS..

User-added image

My requirement is in that gauge chart we have to show different colors up to 5. for that i have created custom vf page, but in that i have to show only 2 different colors.
How to get different colors in gauge dashboard??

Here i'm pasted my vf page and class..

VF Page:
<apex:page controller="TestPageController">

<script>
    MyChart1.on('beforeconfig', function(config) {
        config.axes[0].margin=-10;
    });
</script>
<apex:chart height="250" width="450" animate="true" legend="true" data="{!data}" >
    <apex:axis type="Gauge" position="left" margin="-10"
       minimum="0" maximum="10000" steps="2000" />
    <apex:gaugeSeries dataField="score" highlight="true" tips="true" donut="60"
        colorSet="#FF0000,#FACC2E,#31B404,#8A084B">      
    </apex:gaugeSeries>   
</apex:chart>
</apex:page>

Controller :

public class TestPageController {  

    public TestPageController(){

    }

    public List<gaugeData> getData() {
        double NPS_score = 0;
        Account score = [Select Id, Name, Amount_1__c, Amount_2__c,AnnualRevenue  From Account Where id='001i000000cxxM4' LIMIT 1];
         Account score1 = [Select Id, Name,  Amount_1__c From Account LIMIT 1];
        List<gaugeData> data = new List<gaugeData>();
        data.add(new gaugeData('AMT1', score.Amount_1__c));
        data.add(new gaugeData('AMT1', score.Amount_2__c));
        data.add(new gaugeData('AMT1', score.AnnualRevenue));
        
        
      
        return data;
    }
    public class gaugeData {
        public String name { get; set; }
   
        public decimal score { get; set; }

        public gaugeData(String name, decimal npsScore) {
            this.name = name;
           this.score = npsScore;
          
        }
    }
}

o/p is:
please find the attached screenshot.
gauge dashboard
My requirement is, we have completed our package installation and tested in another org.
in that org Feed Tracking is not enabled for some of custom objects.
This is my requirement?
 
Hi,

    i installed package from old org to new org, But i didn't get records from old org.

   How to get old environment data into New Environment?
   is it Possible ?
14.public void LoadData() 

16. plan = [Select id, name,Icon__c,Bar_color__c from Activitytype__c limit 20];

41. <div Style="background-color:#!row.Bar_color__c};padding-bottom:3px;padding-top:3px;padding-left:20px;padding-right:20px; height:24px;width:200px;display:inline;">


7. public List<Activitytype__c> plan get;set;} 


41. <div Style="background-color:#!row.Bar_color__c};padding-bottom:3px;padding-top:3px;padding-left:20px;padding-right:20px; height:24px;width:200px;display:inline;"> 


65. <type>Text</type> 


41. <div Style="background-color:#!row.Bar_color__c};padding-bottom:3px;padding-top:3px;padding-left:20px;padding-right:20px; height:24px;width:200px;display:inline;"> 
Hi,

My Requirement is:

i have created a custom visual force page like our salesforce admin page. in that one custom object a number of records, when we click on one record it goes to another tab, 

But my requirement is it diplays on same page.

Please provide code..
 
Here is my Requiremennt.

(show on left corner top like our salesforce administration page)

XYZ Admin Setup            

--> status
 --- progress
 --- completed
--> type
 --- project type

All are custom objects using in my project.


when we click the status arrow below it shows the progress...

Please help me ASAP with code...



how to add community member as external members in salesforce
My requirement is, we have completed our package installation and tested in another org.
in that org Feed Tracking is not enabled for some of custom objects.