• Amit M
  • NEWBIE
  • 0 Points
  • Member since 2010
  • Cognizant

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 2
    Replies
Hi

I came to know that CreatedDate and LastModified date in Salesforce can be updated creating a case with Salesforce Support. Now can you please confirm whether we can keep these two fields updateable for life time?

Thanks

How can I connect Heroku Database from Apex?

If anybody can provide sample code, that would be very helpful.

Thanks

Amit

  • April 23, 2013
  • Like
  • 0

Hi,

Is there any API to query payments from PayPal between two dates? I want to develop a batch job in Salesforce which will query PayPal payments made between two dates and create donnation/opportunity records in Salesforce. So I want to know if there is any Paypal API to achieve that. Your response in this regard will be highly appreciated.

Thanks

Amit

  • March 04, 2013
  • Like
  • 0

Hi,

I am new to metadata API. I am creating Flow using metadata Api. Now I am getting back Process Id in the AsyncResult but I need to have the ID of the Flow created. How can I get that? Your help will be highly appreciated.

Thanks

Amit

  • February 20, 2013
  • Like
  • 0

Hi I have created a flow using following code

 

MetadataService.MetadataPort service = createService();
MetadataService.Flow flow = new MetadataService.Flow();
flow.fullName = 'My_Flow-1';
flow.label = 'My Flow';
flow.description= 'This is a test floe';
flow.metaType='Flow';
//flow.type_x='';
MetadataService.FlowStep step = new MetadataService.FlowStep();
//step.metaType = 'FlowStep';
step.label='mylabel';
step.locationX=100;
step.locationY = 10;
step.description = 'Step description';
step.name='test step';

//MetadataService.AsyncResult[] results2 = service.create(new MetadataService.FlowStep[] { step });

flow.steps = new MetadataService.FlowStep[]{step};

//MetadataService.AsyncResult[] results = service.create(new List<MetadataService.Metadata> { flow });
MetadataService.AsyncResult[] results = service.create(new MetadataService.Flow[] { flow });

 

I get an id like 04sd0000002iQXvAAM in AsyncResult. But I am unable to see the flow in Salesforce.

 

2ndly, Can you also tell me how do i get the id with which I can access the flow using url like https://na14.salesforce.com/04sd0000002iQXvAAM

 

Thanks

Amit

  • February 20, 2013
  • Like
  • 0

Hi I have created a flow using following code

 

MetadataService.MetadataPort service = createService();
MetadataService.Flow flow = new MetadataService.Flow();
flow.fullName = 'My_Flow-1';
flow.label = 'My Flow';
flow.description= 'This is a test floe';
flow.metaType='Flow';
//flow.type_x='';
MetadataService.FlowStep step = new MetadataService.FlowStep();
//step.metaType = 'FlowStep';
step.label='mylabel';
step.locationX=100;
step.locationY = 10;
step.description = 'Step description';
step.name='test step';

//MetadataService.AsyncResult[] results2 = service.create(new MetadataService.FlowStep[] { step });

flow.steps = new MetadataService.FlowStep[]{step};

//MetadataService.AsyncResult[] results = service.create(new List<MetadataService.Metadata> { flow });
MetadataService.AsyncResult[] results = service.create(new MetadataService.Flow[] { flow });

 

I get an id like 04sd0000002iQXvAAM in AsyncResult. But I am unable to see the flow in Salesforce.

 

2ndly, Can you also tell me how do i get the id with which I can access the flow using url like https://na14.salesforce.com/04sd0000002iQXvAAM

 

Thanks

Amit

  • February 20, 2013
  • Like
  • 0

Hi,

I am trying to open Flow Designer in an iFrame in a visualforce page like below:

<apex:iframe src="https://na14.salesforce.com/designer/designer.apexp" scrolling="true" rendered="true" id="theIframe"/>

 

But this does not work. Can you please provide me a solution?

Thanks

  • February 18, 2013
  • Like
  • 0

Hi I have created a flow using following code

 

MetadataService.MetadataPort service = createService();
MetadataService.Flow flow = new MetadataService.Flow();
flow.fullName = 'My_Flow-1';
flow.label = 'My Flow';
flow.description= 'This is a test floe';
flow.metaType='Flow';
//flow.type_x='';
MetadataService.FlowStep step = new MetadataService.FlowStep();
//step.metaType = 'FlowStep';
step.label='mylabel';
step.locationX=100;
step.locationY = 10;
step.description = 'Step description';
step.name='test step';

//MetadataService.AsyncResult[] results2 = service.create(new MetadataService.FlowStep[] { step });

flow.steps = new MetadataService.FlowStep[]{step};

//MetadataService.AsyncResult[] results = service.create(new List<MetadataService.Metadata> { flow });
MetadataService.AsyncResult[] results = service.create(new MetadataService.Flow[] { flow });

 

I get an id like 04sd0000002iQXvAAM in AsyncResult. But I am unable to see the flow in Salesforce.

 

2ndly, Can you also tell me how do i get the id with which I can access the flow using url like https://na14.salesforce.com/04sd0000002iQXvAAM

 

Thanks

Amit

  • February 20, 2013
  • Like
  • 0