• Kathryn Lee 10
  • NEWBIE
  • 30 Points
  • Member since 2014
  • Quality Assurance Manager
  • Catholic Charities of the East Bay

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 4
    Questions
  • 4
    Replies
I am working on the Creating Wizards with Visual Workflow challenge, and I have run into an unhandled exception. My workflow is running fine when just creating an Account record. It worked when creating and Account record and a Contact record with just first and last name. The problem popped up when I created a variable for the AccountID to link the Contact record back to the Account record. Here's what I have:

flow

CreateContact

variable

I have a feeling the error has something to do with the variable I created, but I can't figure out what to do. I tried other data types, but that didn't seem to work. 
I'm working on the Creating Wizards with Visualforce Flows challenge and I am getting an error on the Opportunity Name formula that I created. 

The error is: OpportunityName (Formula): The formula expression is invalid: Syntax error. Found 'Company_Name'

Here is my formula (I have it set to Text): ​{!Company_Name} "-" {!Last_Name}
I have created a visualforce page that actually looks up to a webpage. that webpage actually pings a MetaLocator database. Everything displays nicely and the navigation works, except for one thing. When you enter search parameters and click the Submit button, nothing happens. Anyone have any ideas? My code is below.


<apex:page sidebar="false">

<apex:image url="http://www.preparemag.com/wp-content/uploads/2012/08/print_icon1.gif" width="25" height="25" onclick="printFunc();return false;"/>

<script type="text/javascript"> function printFunc(){ window.print(); } </script>

<script type="text/javascript" src="https://www.google.com/jsapi">
</ script>

<script type="text/javascript">google.load("maps", "3", {other_params:"sensor=false"});</script><script language="javascript" src="//code.metalocator.com/index.php? option=com_locator&view=directory&layout=_javascript&framed=1&format=r aw&tmpl=component&no_html=1&Itemid=3627">
</script>

</apex:page>
 
I am still a very basic level when it comes to visualforce. I created a page that links to an external website (code below). I was wondering if there was a way to add in the print link that is found on Salesforce object pages. I know how to suppress the sidebar, but wasn't sure how to add "print" back in. 

<apex:page sidebar="false"> <script type="text/javascript" src="https://www.google.com/jsapi"></ script><script type="text/javascript">google.load("maps", "3", {other_params:"sensor=false"});</script><script language="javascript" src="//code.metalocator.com/index.php? option=com_locator&view=directory&layout=_javascript&framed=1&format=r aw&tmpl=component&no_html=1&Itemid=3627"></script> </apex:page>
 
I'm working on the Creating Wizards with Visualforce Flows challenge and I am getting an error on the Opportunity Name formula that I created. 

The error is: OpportunityName (Formula): The formula expression is invalid: Syntax error. Found 'Company_Name'

Here is my formula (I have it set to Text): ​{!Company_Name} "-" {!Last_Name}
I have created a visualforce page that actually looks up to a webpage. that webpage actually pings a MetaLocator database. Everything displays nicely and the navigation works, except for one thing. When you enter search parameters and click the Submit button, nothing happens. Anyone have any ideas? My code is below.


<apex:page sidebar="false">

<apex:image url="http://www.preparemag.com/wp-content/uploads/2012/08/print_icon1.gif" width="25" height="25" onclick="printFunc();return false;"/>

<script type="text/javascript"> function printFunc(){ window.print(); } </script>

<script type="text/javascript" src="https://www.google.com/jsapi">
</ script>

<script type="text/javascript">google.load("maps", "3", {other_params:"sensor=false"});</script><script language="javascript" src="//code.metalocator.com/index.php? option=com_locator&view=directory&layout=_javascript&framed=1&format=r aw&tmpl=component&no_html=1&Itemid=3627">
</script>

</apex:page>
 
I am still a very basic level when it comes to visualforce. I created a page that links to an external website (code below). I was wondering if there was a way to add in the print link that is found on Salesforce object pages. I know how to suppress the sidebar, but wasn't sure how to add "print" back in. 

<apex:page sidebar="false"> <script type="text/javascript" src="https://www.google.com/jsapi"></ script><script type="text/javascript">google.load("maps", "3", {other_params:"sensor=false"});</script><script language="javascript" src="//code.metalocator.com/index.php? option=com_locator&view=directory&layout=_javascript&framed=1&format=r aw&tmpl=component&no_html=1&Itemid=3627"></script> </apex:page>
 
What is this all About?? 
huhCatter??

Thank you
BLearn - Sai