Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
15 views

Execute Apex method avoiding required field validations - <Apex:Region> not working

Here I want to insert one record on clicking "Post" button, at the same time I don't want to execute code in "First" pageblocksection (avoid all required fields). <apex:pageBlockSection ...
0
votes
1answer
31 views

How to make an HTTPS POST from apex

I have this code String endpoint = 'https://url.here.com/path/stuff/here'; String username = 'username'; String password = 'password'; HttpRequest req = new HttpRequest(); req.setEndpoint( endpoint ...
1
vote
1answer
22 views

What are the configurations in Salesforce for client to access the Rest Service with http instead of https

I have a Rest service(POST) that I expose publicly through sites. What are the configurations required in Salesforce for client to access the Rest Service with http instead of https.
1
vote
0answers
25 views

ExactTarget - How to post a record to a data extension that has no primary key?

I have a data extension with the following fields: recordId - number recordKey - text - length: 50 recordValue - text - length: 50 None of the above fields are primary key, because they can occur ...
0
votes
1answer
27 views

How can I POST values to and open an external site within Salesforce window?

I want a tab that opens an external website within Salesforce window. I need to POST values to it. I tried creating a Visualforce page and using it in a VF tab but even with using _target=self, the ...
1
vote
0answers
48 views

Posting multiple files from Apex code to an external service

The question on how to post binary data to an external service from Apex has been answered on SFSE already, and I'm aware of that. However, what I'm trying to do, is to optimize a process by posting ...
1
vote
0answers
51 views

CurrentPage getParameters() is empty the first time I post to a page

I have a VisualForce/APEX page that I am posting to through a form. I send over a list of contacts as a single string. When I get to the other page I use the following code to retrieve the post ...
4
votes
1answer
79 views

Multiple APEX REST methods with HttpPost annotation - how to selectively invoke with REST client (e.g. Postman)

I have a class which consists of Post annotation with two methods under it.These methods will be called based on some criteria and they vary by the count(number) of parameters i.e. one method has two ...
0
votes
0answers
102 views

Bypass mixed content error on visualforce page. File upload to external server

Need to upload file to external server from visualforce page. I tried this: <form action="http://myServer" enctype="multipart/form-data" method="post"> ...... <input type="file" ...
2
votes
2answers
94 views

Get list of contacts from search layout

When I select multiple clients on this list and click the Email Contacts button on this search page I want to open a visual force page with a special email form on it. How do I get the ids of all of ...
1
vote
1answer
112 views

Salesforce Callout to ExactTarget via the ExactTarget REST API

Why does the below code always get a "500 internal server error" back from ExactTarget when run anonymously from the Salesforce developer console? (Of course I'm using my own client id and client ...
1
vote
1answer
136 views

HTTP Post issue - unable to redirect when authenticated

We are experiencing an issue with our HTTP Post method. We have the need to POST some information to an external server. We have created some code in visualforce to do this for us but it seems to only ...
2
votes
1answer
119 views

How do I pull in form data via AMPScript?

I am a brand new TA for ExactTarget, so AMPScript is very new to me. I have a web page which has a <textarea>. Users can go in and copy/paste a list of domains to this <textarea> ...
1
vote
1answer
449 views

http post for mulitpart form

am trying to post the csv data through http post to end point url. Below is my code. string test = 'test1,test1@gmail.com'; // which will be get from DB and make as CSV string String ...
3
votes
4answers
5k views

restful call to external analytics API via visualforce/apex

So I'm trying to access Woopra analytic's restful API via apex/visualforce. I am wondering a couple of things: 1) The API returns a JSON object via the usual POST/GET method... would it be best to ...