A proprietary Java-like programming language for the Force.com Platform.

learn more… | top users | synonyms

1
vote
0answers
15 views

HttpOnly Cookies Not Available in Apex

When making an HTTP callout using HttpRequest, Set-Cookie headers returned with the HttpOnly flag are not included in the HttpResponse. This appears to be consistent with RFC 6265: The HttpOnly ...
0
votes
1answer
12 views

Apex Trigger Test Class Coverage

I am trying to create a test class for my apex trigger but I am not able to reach the code coverage. does anyone how I can reach the code coverage? Here is trigger trigger AccountInformation on ...
0
votes
0answers
11 views

Only user and group IDs may be used in inline mentions

I'm creating Chatter feed items using connect API apex. I want a simple message that contains a link to the user and a related object, e.g. opportunity. I'm getting this message when running the code ...
0
votes
1answer
12 views

Using children in WHERE criteria of Parent-to-Child SOQL query

Can't seem to find an example of this. trigger Opportunity_Triggers on Opportunity (after insert, after update, after delete) { List<Account> accList = [SELECT Id, (SELECT Id, AccountId ...
2
votes
0answers
10 views

Freezing pageblock header using jQuery- doesnt work on mozilla

I am freezing the header as explained in this below blog. Freezing header -Readkite blog But the problem i am facing is that i am not able to get it worked on Mozilla. Do i need to add anything ...
2
votes
2answers
32 views

Need Help With Test Class

This has already been asked and answered and is working except for the errorCase.SuppliedName returns Null after my error message. How do I write a Test Class for this. I'm a newbie and this has ...
4
votes
1answer
19 views

Avoiding SOQL limits in a recursive method

I have a SOQL query in a recursive FOR loop. It didn't give me SOQL limit issues on my test data, but apparently we have a managed package whose Apex is hitting the limit due to this code. public ...
3
votes
1answer
17 views

Adding custom object on Action Plan failing

I am trying to add a custom object to the Action Plan v3 Unmanaged app. I have gotten as far as being able to get to the visual force page to set-up the Action Plan and it is related to our custom ...
5
votes
2answers
126 views

Odd Security Error in Chrome

I have a VF page on my Dev org that calls out to a 3rd party to get some JSON results. This page worked fine last night, this morning I started getting an odd error But my page doesn't have any ...
2
votes
2answers
24 views

Having problem calling SOAP webservice

Following on from my other post about my webservice that returns a generic xml doc: Can I process xml results doc from webservice callout? I've got some example code to call the webservice and ...
3
votes
1answer
24 views

What is the best practice to implement custom button?

I planning to use custom button. I can write all the functionality related to button using Javascript API, so that i do not need to write any apex code. Another way is i can write an apex class and ...
2
votes
1answer
27 views

Challenge with unit tests, mock callouts and running as a user

Background I am developing a number of business applications within a community. Many of these apps rely on callouts to another ERP system to verify or retrieve or push data. In order to adequately ...
1
vote
1answer
29 views

Create multiple screen inputs for one VisualForce page?

In VisualFlow you can create multiple screens, as many as you like, but at the end it is considered one Flow, and when you create a website from the Flow, its only one website. How can you create ...
2
votes
1answer
24 views

Visualforce page in Standard Page Layout Opening Links in Iframe

I have a VF related list embedded in a STD page layout. when the user clicks on a record in the rleated list, the vf part navigates to the new page. Obviously, i want the parent to <apex:page ...
9
votes
1answer
43 views

Effects of declaring a list inside a for loop

Here's a for loop I have in my code, which loops through a list of account IDs. It takes each ID and puts it as the first element of a new list. That list is then populated with additional IDs ...

15 30 50 per page