Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.
1
vote
Accepted
How to pass json in request header Using rest and method= POST
You can use this by Creating classes as below :
public class linkedinpostshare_API
{
public String comment='';
public Content content{get;set;}
public Visibility visibility{get;set;}
public class Co …
2
votes
Accepted
Want Formated Date and time as 2 mins ago , 1 day ago ,if date> 5days ago then 27 th jan 2017
Possible formula is :-
IF((NOW() - MBT_SFFB__Published_Date__c) > 0 ,if((NOW() - MBT_SFFB__Published_Date__c) > 5,TEXT(DAY(DATEVALUE(MBT_SFFB__Published_Date__c))) +" "+ CASE(MONTH(DATEVALUE(MBT_SFF …
0
votes
2
answers
36
views
rerender Refreshes the repeat, need to reassign values
occursType == 'Custom schedule')}">
<apex:commandLink styleClass="btn btn-primary" onclick="addWebinarTimejs(); return false;" value="Add another session"/>
</apex:outputpanel>
</apex:outputpanel>
Apex …
0
votes
Accepted
rerender Refreshes the repeat, need to reassign values
public class WebinarMultipleTimeRow {
public Date StartDate {get; set;}
public String StartTime {get; set;}
}
Need to change String to Date
1
vote
Accepted
Facebook Integration Scope Permission
You need to test the application with administrator. Check your developers.facebook.com you will have roles tab.
In that roles tab whoever is in the Admin role will be having all permission default.
p …
2
votes
Accepted
Wrapper class returns null
Make the request as GET Method It will return perfect output.
1
vote
Accepted
Repeater 's text box value getting null in method
String pgp='';
if(objmappost.size()>0)
{
for(String key:objmappost.keySet()) // map you had binded in the outer repeater.
{
if((objmappost.get(key).postcomment)!='')
…
1
vote
Accepted
How to Share post from salesforce to facebook on own timeline Using Graph API call without u...
Scopes :- publish_actions and user_posts you can use. For detail Information you can check Documentation of Facebook Graph API.
Scopes for post on facebook page are :- manage_pages,publish_pages
1
vote
Accepted
Facebook Integration Responds with Wrong user id compared to Facebook API Explorer
Facebook Provides Application wise ID for every resource. Application need to be permitted by user. The IDs will be within that scope.
Facebook Graph API explorer is a different context. while Applic …
1
vote
Accepted
Api call Response contains Results Up to limited Posts on Facebook
You can Use It by calling again API on the Next property As Below. Bit Inefficient.
me/feed?fields=id%2Cpermalink_url%2Cmessage%2Ctype%2Ccreated_time%2Cupdated_time%2Cfrom%2Cpicture%2Ccomments%7Bid%2 …
0
votes
1
answer
110
views
Salesforce Formula field Syntax Error
Throws Error "Syntax Error."
Object :- Opportunity Line Item
Field1 :- UnitPrice Currency(16, 2)
Field2 :- Cost_Price__c Currency(16, 2)
Field3 :- Discount Percent(3, 2)
Field4 :- Gross_Profit__c …
0
votes
1
answer
91
views
apex:commandbutton didnt work with Get Request
MyobLoginController() {
obj_MyobToken = new MyobToken();
}
public String getRedirectURI() {
String redirectURI = 'https://'+ApexPages.currentPage().getHeaders().get('Host')+'/apex …