You need to sign in to do that
Don't have an account?
Connie Sintos
Stuck on Module 2 Trailhead - The Flow should be invoked from Visualforce Page (new error received)
Stuck on Module 2 Trailhead - Create a flow to streamline entry of new accounts, contacts, and opportunities.Please help! I am stuck on creating flows. Can't seem to work. I keep on re-doing my work and not sure if I am doing it right. The challlenge as follows:
To pass this challenge you will need to create a flow that implements the business process of Account, Contact, and Opportunity data entry and place it on a Visualforce page.The Flow will need to be called 'New Customer Flow'.
The Flow should have a screen with fields for First Name, Last Name, Company Name, Opportunity Amount, and Opportunity Stage.
The Flow needs to have steps to create an account, a contact, and an opportunity from the data entered.
Opportunity name, close date and stage are required fields. Name the Opportunity '{Company Name} - {Last Name}', set the close date to one month from today and set the stage to 'Prospecting'.
The Flow should be invoked from a Visualforce page.
The Visualforce page should be called FlowPage.
The Visualforce page will need a component to reference the 'New Customer Flow' process.
If possible, if you can provide a snapshot.
==============================================================================================================
HELLO SANDEEP SANKHLA,
I slightly edited what I had to look at what you have provided (great snapshot, btw!). Now, I got an error: Challenge not yet complete... here's what's wrong: A Visualforce page named 'FlowPage' was not found.
This is for the last 3 bullets in the challenge:
1)The Flow should be invoked from a Visualforce page.
2)The Visualforce page should be called FlowPage.
3)The Visualforce page will need a component to reference the 'New Customer Flow' process.
I tried to do the steps from the module, but I don't understand. Can you please help again?
Thanks.
Connie Sintos
To pass this challenge you will need to create a flow that implements the business process of Account, Contact, and Opportunity data entry and place it on a Visualforce page.The Flow will need to be called 'New Customer Flow'.
The Flow should have a screen with fields for First Name, Last Name, Company Name, Opportunity Amount, and Opportunity Stage.
The Flow needs to have steps to create an account, a contact, and an opportunity from the data entered.
Opportunity name, close date and stage are required fields. Name the Opportunity '{Company Name} - {Last Name}', set the close date to one month from today and set the stage to 'Prospecting'.
The Flow should be invoked from a Visualforce page.
The Visualforce page should be called FlowPage.
The Visualforce page will need a component to reference the 'New Customer Flow' process.
If possible, if you can provide a snapshot.
==============================================================================================================
HELLO SANDEEP SANKHLA,
I slightly edited what I had to look at what you have provided (great snapshot, btw!). Now, I got an error: Challenge not yet complete... here's what's wrong: A Visualforce page named 'FlowPage' was not found.
This is for the last 3 bullets in the challenge:
1)The Flow should be invoked from a Visualforce page.
2)The Visualforce page should be called FlowPage.
3)The Visualforce page will need a component to reference the 'New Customer Flow' process.
I tried to do the steps from the module, but I don't understand. Can you please help again?
Thanks.
Connie Sintos
/apex/FlowPage
<apex:page > <flow:interview name="New_Customer_Flow"></flow:interview> </apex:page>
I get this error message when I use this code in VF page:
[Error] Error: FlowPage line 2, column 27: Open quote is expected for attribute "name" associated with an element type "flow:interview"
[Error] Error: Open quote is expected for attribute "name" associated with an element type "flow:interview".
<apex:page>
<flow:interview name = “New_Customer_Flow” />
</apex:page>
Please help.