Jump to content

  •  

Photo

WebAssistant Error Code List

360works webassistant error

  • Please log in to reply
1 reply to this topic

#1 Mike_B.  newbie

Mike_B.
  • Members
  • 9 posts
  • FM Application:11 Advance
  • Platform:Windows 7
  • Skill Level:Intermediate
  • Membership:TechNet, FileMaker Business Alliance
  • Time Online: 18h 47m 20s

Posted 13 October 2011 - 01:41 PM

Hi, trying to get WebAssistant to work for submitting POST to a php form online.

Here's my statement:

Let ( setup = WAReset &
WASetInputValue( "username" ; LOCAL_USER_TABLE::userName ) &
WASetInputValue( "password" ; LOCAL_USER_TABLE::password ) &
WASetInputValue( "passwordc" ; LOCAL_USER_TABLE::password ) &
WASetInputValue( "email" ; LOCAL_USER_TABLE::Email ) &
WASetInputValue( "submit" ; "Register" )
;
WAGetURL(
"http://MYURL/register.php"
)
)

And here's the Script:
set var $calc - (sets as let statement above)
set field (plugin_result) WAReset
set field (plugin_result_container) Evaluate($calc)
set field (plugin_result) GetAsText (plugin_result_container)
if (plugin_result = "ERROR")
Show Dialog - WALastError
else if (plugin_result = "?")
Show Dialog - EvaluationError ( Evaluate ( $calc ) )

I am getting error #1204 returning from plugin_Result="?", but I don't really have an idea on where to start my troubleshooting.

Any list of error codes or what exactly EvaluationError() and Evaluate() look for?

Thanks!
  • 0

#2 sterlpearl  member

sterlpearl
  • 360Works
  • 11 posts
  • FM Application:11 Advance
  • Platform:Mac OS 9
  • Skill Level:Beginner
  • Time Online: 4m 54s

Posted 17 October 2011 - 07:12 AM

Don't evaluate the calculation. That is a technique we use in the demo file so you can edit the text in each example and use it as a sandbox.

Set Variable [$post ; Let(...)]
If [$post = "ERROR"]
Show Custom Dialog [WALastError]
Else If [$post = "?"]
Show Custom Dialog ["The Web Assistant plug-in is not installed"]
Else
Set Field [table_name::plugin_result ; $post]
End If
  • 0





FMForum Advertisers