0
votes
0answers
5 views

How do i fix Cross site scripting errors

21.public ProjectDetailsExtensionController (ApexPages.StandardController controller) membs= [Select Role__c, Type__c, User_Email__c FROM Members__c where ProjMembers__c=:workId]; Public List ...
0
votes
1answer
5 views

Javascript action function not working after Summer 14 release

I have a VF page with a command button. It calls a javascript function, and then an actionFunction to call a method in the apex class. Everything was working fine until summer'14 release. Now, when ...
1
vote
0answers
6 views

Salesforce SAP Integration

I have created a APEX class from WSDL ( WSDL provided by SAP ). Need Help in calling this APEX class in Salesforce. This is a Demo Flight Object. When I pass Flight Number and Name, it will return ...
1
vote
2answers
14 views

The CheckMarx security scanner says that this lines is a Stored XSS vulnerability

14. public void LoadData() 16. plan = [Select id, name,Icon__c,Bar_color__c from Activitytype__c limit 20]; 41. <div ...
0
votes
1answer
12 views

test class is not covering email messaging

trigger: trigger TaskCompletion on Task (after insert,after update){ IF(trigger.isinsert){ for (Task E : Trigger.new){ If((E.CreatedById != ...
0
votes
0answers
5 views

Any examples about canvas integrate with google apps?

i want to create a canvas app to show google drive or google fusion table within, is there any examples or articles about this ? any help would be appreciated.
0
votes
1answer
16 views

Webservice failure to call

Please find the class below. The method called is ASCS_DaaS_APISoap. I am unable to understand where it breaks and not fetching real data.Can some one please help me out in this? //Generated by ...
0
votes
1answer
16 views

Get all the month year(MM-YY) dates between two dates

Is there a way to get all the dates between two dates if i have a start date: Feb 2014 end date : April 2014 Output: Feb 2014 March 2014 April 2014 I have this code: startYear = 2014; ...
2
votes
1answer
9 views

Integrating Salesforce with Wordpress using Force.com Sites

I'm using Force.com sites to integrate Wordpress and Salesforce. I've created a VF page called Subscriber with information like Name, Email, Zip. I've added this into an iframe in a Wordpress site. I ...
1
vote
1answer
20 views

Custom button OnClick JavaScript with condition (number field)

In Salesforce.com, I've created a custom detail page button that will create a new Case record from a custom object. All is working well, until I tried to add a piece that sets a checkbox field on ...
5
votes
1answer
30 views

Error in loading the iFrame in Salesforce 1 Platform:

Scenario : I have built desktop based Force.com platform and now i have enabled the Salesforce 1 Mobile app on my environment. Now if i try to load the same Desktop based Quote Detail page on Iphone ...
1
vote
0answers
13 views

Error in API not reproducable via UI

While updating Opportunity Owners in our Org through Data Loader, we were through a validation rule error from a lookup filter. However, when we tried to perform the same update via UI (Change Owner). ...
0
votes
1answer
10 views

Opportunity Validation

I'm trying to perform some validation on my opportunity page and I'm having difficulties. The following is the scenario.. If stage = close won (100%) or closed lost (0%) AND competitor = not known at ...
1
vote
1answer
16 views

How to set a Predefined Field Value lookup field by ID?

I created an Opportunity Action, using the OpportunityLineItem as the Target Object. I want to set a Predefined Field Value for the field PricebookEntryID. When I add a new predefined value, select ...
1
vote
2answers
35 views

Formula fields retrieve value from Trigger.new/old

I have found similar queries in here But nothing gave me a straight answer I have a custom field on account say custom__C which is a formula field and derives value from another custom ...
0
votes
0answers
15 views

How to populate Dependent PickList value in Apex Class/ Trigger [duplicate]

I need to populate some picklist value on an Opportunity Trigger. There are two pickList : 'PickList1' and 'PickList2' . Both of them are on same Opportunity Object, 2nd one is the dependent on the ...
0
votes
1answer
17 views

Visual Force page display name of given Id

ok i have this: <apex:column headerValue="Provider"> <apex:outputLink target="_blank" value="/{!o.WhoId}">{!o.WhoId}</apex:outputLink> </apex:column> this returns me this ...
2
votes
2answers
20 views

One user couldn't be assigned as owner of the record using dataloader

I am looking around 5000 records using dataloader, where i am also assigning the ownerid for each account record. I have around 80 records couldn't be inserted because of the issue "invalid cross ...
2
votes
1answer
17 views

modifications to report don't migrate with change set

I've modified a report in dev and want to migrate it into another environment via change set. In the change set, I included the report, custom field that i added, and report folder. However, after the ...
0
votes
0answers
4 views

When are licences consumed when using Site.createPortalUser?

The Site.createPortalUser call (see the Site class) creates the User object when it is called with the correct parameters. Am I correct in assuming that the underlying license is only consumed when ...
3
votes
2answers
16 views

Create a report with unique country names and total number of unique countries

How do I create a report with the unique countries that exist for all users? So that the Grand Total represents the unique number of countries. In other words 'I want the total number of unique ...
1
vote
0answers
17 views

Creating reminder whenever task is half way through

I have a requirement where i need to create a reminder for every half way through the task. Eg, if i have a task on 2 months from now, i need to create a reminder before 1 month, one reminder before ...
0
votes
0answers
9 views

Missing the “Delivery Status Notification” Column in Email Log

From the Salesforce documentation here... https://help.salesforce.com/HTViewHelpDoc?id=email_logs_format.htm&language=en_US It shows a column "O" that should show Delivery Status Notification. ...
1
vote
2answers
10 views

Encrypting URL parameters with AMPscript

I am trying to encrypt URL parameters using AMPscript but I have an issue with the encrypted parameters, they include symbols like + or =. So they cannot be used as strings in a URL parameter. Is ...
0
votes
0answers
17 views

VisualForce apex:relatedlist - button redirection

I am having a little problem with visualforce and displaying a related list. The task is to display account related contacts and opportunities as a related list on a custom object. Account is a ...
1
vote
0answers
10 views

Change file sharing settings of chatter file using the Connect API

I am able to use a file upload to post a file to the Chatter Feed of a custom object record using the following code: ConnectApi.FeedItemInput feedItemInput = new ConnectApi.FeedItemInput(); ...
5
votes
2answers
21 views

API and static variables reset

As per this documentation Trigger Note that static variable values are reset between API batches, but governor limits are not. Do not use static variables to track state information between ...
1
vote
0answers
10 views

turn off autocomplete for HTML elements in Developer Console

Is it possible to turn off the autocomplete for HTML elements in Developer Console? I tried turning off Apex Auto-complete but that didn't help. It's incredibly frustrating when every element I ...
3
votes
1answer
57 views

Know how many customers have installed a Managed Package

I've published a link of a Managed Package on a website. It's possible to know how many customers have installed the package? The only solution seems to create a patch and see on which customer I ...
0
votes
0answers
17 views

Bulk API and Static Variable State

Our trigger logic has some recursion detection built in. Essentially, we have some static variables that act as counters for trigger executions. When our set "max" gets hit, our triggers quit to avoid ...
0
votes
1answer
18 views

Make Restful call with Parameters

This is essentially part 2 building from my earlier question. Call Restful SFDC service from Java I successfully got my service to authenticate. I also got my service to successfully call a post ...
2
votes
1answer
30 views

Conditional Rendering inside Visualforce pages

I have an overwritten edit page for my custom object, which have different record types with different fields. The simplified desktop version of this VF page looks like this: <apex:page ...
0
votes
1answer
13 views

Database schema export

Hi we have a date export made from salesforce instance. We'd like to rebuild just the database but we stumbled on process to import the CSV files to a SQL Server database. We have force.com IDE ...
0
votes
0answers
9 views

Line Item Name in Flow Loop causing an unhandled fault

I have a Flow Loop that is iterates through a collection of Opportunity Line Items and displays a single field from each line item. It works if I ask it to display the ID. It works if I ask it to ...
2
votes
0answers
19 views

What types of Visualforce pages cannot be used with Publisher Actions?

I created a VF page using code from Salesforce help files: https://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_access_data.htm It uses the Account standard controller and ...
0
votes
0answers
17 views

Sorting on date gives me error

I've an issue while sorting date by arrow sorting. I successfully implemented this for "Subject" and "Status" field on Task object but while i click on Date column , it gives me error saying : ...
0
votes
1answer
34 views

Salesforce 1 - Technical Feasibility

Just wanted to know whether the following requirement is feasible via Salesforce1 We all know that Salesforce supports Email to Case. In our org too, we have written apex code to suit our custom ...
0
votes
1answer
13 views

Split selectCheckBox into two columns?

I would like to use a selectCheckbox for a field but the design team wants the options to be in two columns like so opt 1 | opt 2 ------------- opt 3 | opt 4 ------------- opt 5 | Im sure I could ...
1
vote
3answers
18 views

Using and modifying Apex trigger variable in Apex Test Class

Is it possible to use and modify any apex trigger variable in the apex test class ?? will the @TestVisible notation helps in this scenario ??
2
votes
1answer
38 views

Disable custom list button if no object selected

I added a custom account list button via SalesForce setup. So, when I click on Accounts tab, then on All accounts on selectList, I have all my accounts and on the top my custom button. I want to ...
3
votes
2answers
125 views

Order of execution of trigger and workflow

I am aware of the flow of execution in salesforce(validation, autoresponse, assignment...etc). I also have knowledge of the order of execution of a visualforce page. I have 2 questions on execution: ...
3
votes
2answers
47 views

When is SF1 Summer '14 edition being released

As far as I understand, it will be possible to move between orgs in one form or another from within the Salesforce1 app. The timeline for this I understood to be based around the Salesforce Summer '14 ...
1
vote
1answer
17 views

Designing the Data extensions - Exacttarget : pointers needed

We have received a new ET environment for our customer and are starting to use it for marketing campaign . At the moment they will start with exact target Landing pages and the links are posted in the ...
2
votes
2answers
58 views

Values don't update after I call action on a commandbutton?

I am trying to implement functionality in SalesForce where when a user clicks a button then the following count increases. Currently I have a simple test page that just shows the following count. ...
0
votes
1answer
29 views

how to STOP salesforce standard AUTOPOPULATION of fields

Is there any way by which we can STOP STANDARD AUTOPOPULATION of fields Eg: When i click New Contact from Accounts Related list,Contacts Phone and fax field get autopopulated with Accouns phone and ...
1
vote
0answers
17 views

How to disable the alert messaging asking for confirmation to leave the page?

I'm getting below shown pop-up for confirmation to save data, but I don't want to display this pop-up. I'm getting this in LiveAgent application using. How can i stop this message.?
1
vote
1answer
15 views

Autpopulate the fields on standard edit page from parent object in salesforce

Can someone please tell me about "Ways by which we can Autopopulate the fields on standard edit page from parent object in salesforce" fro eg::-- i have to autopopulate "phone number" field from ...
0
votes
1answer
22 views

Validation rule for phone number

how to write validation rules for phone number in below format +()- Example : +(91)-1234567890 When end user entering value for phone number it should only allow mentioned special ...
0
votes
1answer
15 views

How can i send data from external page to salesforce visualforce page without salesforce authentication

I am trying to create a Visualforce page and a controller to receive request from an external web page . This external page will send an XML file to my page and I have to using controller to get this ...
0
votes
1answer
28 views

Getting null pointer exception running a batch apex

I am getting an error like "Argument 1 cannot be null" while running this batch apex Batchupdate_Montly_DepthTracker. Please note this batch runs on result sets returned from a scheduled apex. ...

15 30 50 per page