<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:API Q&amp;A</title><link>http://forums.method.me/cs/forums/15.aspx</link><description>Ask questions specific to the MethodAPI from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2291.aspx</link><pubDate>Thu, 25 Mar 2010 16:00:26 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2291</guid><dc:creator>BrianPoole</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2291.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2291</wfw:commentRss><description>&lt;p&gt;Thanks Paul!&lt;/p&gt;
&lt;p&gt;Sorry for the delay, I&amp;#39;ve had a lot on my plate,&amp;nbsp;but I think that might be the exact solution I was looking for. The webservice call directly is a great idea though,&amp;nbsp;it just&amp;nbsp;doesn&amp;#39;t sound like it would work for this project. I think I&amp;#39;d feel more comfortable using the MethodAPI (I&amp;#39;m looking forward to digging into it anyhow&amp;nbsp;&lt;img src="http://www.methodintegration.com/cs/emoticons/emotion-2.gif" alt="Big Smile" /&gt; )&lt;/p&gt;
&lt;p&gt;I appreciate your help, I&amp;#39;ll let you know how it goes!&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2270.aspx</link><pubDate>Fri, 19 Mar 2010 09:59:08 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2270</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2270.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2270</wfw:commentRss><description>&lt;p&gt;&amp;quot;I&amp;#39;m almost convinced this is where the problem lies.&amp;quot;&lt;br /&gt;-I think&amp;nbsp;this has a lot to do with.&amp;nbsp; I think that&amp;nbsp;before trying to get that webservice to work with Method you need to get it working on a test environment so that you can debug it more easily.&amp;nbsp; The redirect sounds suspect.&lt;/p&gt;
&lt;p&gt;&amp;quot;Before either of us get too far into this, will the returned results be in an array? Or just one string?&amp;nbsp;&amp;quot;&lt;br /&gt;-The results would be returned in a&amp;nbsp;Method&amp;nbsp;&amp;quot;action result&amp;quot; - which is a string.&amp;nbsp; I don&amp;#39;t think you&amp;#39;ll be able to populate a Method grid with those results very easily.&lt;/p&gt;
&lt;p&gt;Grids display data from database tables - i.e. grids are purely bound objects, there is no unbound mode.&lt;/p&gt;
&lt;p&gt;So.........what you could do is:&lt;/p&gt;
&lt;p&gt;1. Use a Method action &amp;quot;Assign value to Action Result&amp;quot;&amp;nbsp;to collect the Company Account using &amp;quot;Value from Session&amp;quot; variables.&lt;br /&gt;2. Use a Method action &amp;quot;Assign value to Action Result&amp;quot;&amp;nbsp;to collect the SessionID using &amp;quot;Value from Session&amp;quot; variables.&lt;br /&gt;3. Use a Method action &amp;quot;Assign value to Action Result&amp;quot;&amp;nbsp;to collect the User Name using &amp;quot;Value from Session&amp;quot; variables.&lt;br /&gt;4. Use the Method action &amp;quot;Character Function&amp;quot; to build a URL that has the Company Account, SessionID and User Name in the query string.&lt;br /&gt;5. Call a secure web site or webservice.&amp;nbsp;&lt;br /&gt;6. Have the website in turn call the MethodAPI to insert all the records into the target table in Method.&amp;nbsp; Since you have the Company Account, SessionID and User Name you have the info you need to insert records into Method.&lt;br /&gt;7. After the&amp;nbsp;call to the website or webservice has&amp;nbsp;has been run, refresh the grid on your screen and it will have all the records you just inserted.&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2269.aspx</link><pubDate>Thu, 18 Mar 2010 20:28:58 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2269</guid><dc:creator>BrianPoole</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2269.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2269</wfw:commentRss><description>&lt;p&gt;Again, thank you for helping. I understand where you&amp;#39;re confused if you&amp;#39;re not familiar with ColdFusion, I just went through the same experience recently.&lt;/p&gt;
&lt;p&gt;The .cfc page can&amp;#39;t be accessed directly because we are on a shared server, I think&amp;nbsp;ColdFusion has a built-in WebService browser and accessing the file directly tries to activate it (notice the url redirect), which is denied for security reasons. --I&amp;#39;m almost convinced this is where the problem lies.&lt;/p&gt;
&lt;p&gt;I created&amp;nbsp;the .cfm page to access the webservice and display the results though. I can get Method to display the results of that page back... I&amp;#39;m wondering if I should do a more basic query-style access. Any reliable way to get the data back would be fine with me.&lt;/p&gt;
&lt;p&gt;Before either of us get too far into this, will the returned results be in an array? Or just one string?&amp;nbsp;I want to be able to fill out a grid with the results&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2268.aspx</link><pubDate>Thu, 18 Mar 2010 20:03:39 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2268</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2268.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2268</wfw:commentRss><description>&lt;p&gt;Brian,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not a ColdFusion expert, but I think that I should be able to open up the following URLs in a regular browser window:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.quickbasenation.com/sandbox/methodaccess.cfc?op=QBNTestLogin"&gt;http://www.quickbasenation.com/sandbox/methodaccess.cfc&lt;span style="color:#000000;"&gt;?op=QBNTestLogin &lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.quickbasenation.com/sandbox/methodaccess.cfc"&gt;http://www.quickbasenation.com/sandbox/methodaccess.cfc&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;But when I do that I&amp;#39;m getting an error on the page.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I go to our .net MethodAPI webserivce in a browser, I get a full page:&lt;br /&gt;&lt;a href="https://www.methodintegration.com/methodapi/service.asmx"&gt;https://www.methodintegration.com/methodapi/service.asmx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if this is a different between .net or cold fusion - and I can look into this&amp;nbsp;further, but before I do, have you been able to get the Hello World example to work in a non-Method environment yet?&amp;nbsp; i.e. can you reference that web service from another Cold Fusion page and get back the desired response?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2267.aspx</link><pubDate>Thu, 18 Mar 2010 19:10:31 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2267</guid><dc:creator>BrianPoole</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2267.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2267</wfw:commentRss><description>&lt;p&gt;Awesome, any help would be appreciated.&lt;/p&gt;
&lt;p&gt;I agree with helping others, so I&amp;#39;ll post as much as I can. I have two files I&amp;#39;m playing with here--&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.quickbasenation.com/sandbox/methodaccess.cfc"&gt;http://www.quickbasenation.com/sandbox/methodaccess.cfc&lt;/a&gt;&amp;nbsp;--&lt;br /&gt;&amp;lt;cfcomponent&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cffunction name=&amp;quot;QBNTestLogin&amp;quot; access=&amp;quot;remote&amp;quot; returntype=&amp;quot;string&amp;quot; output=&amp;quot;no&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;cfreturn &amp;quot;Hello World!&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cffunction&amp;gt;&lt;br /&gt;&amp;lt;/cfcomponent&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.quickbasenation.com/sandbox/methodaccess.cfm"&gt;http://www.quickbasenation.com/sandbox/methodaccess.cfm&lt;/a&gt;&amp;nbsp;--&lt;br /&gt;&amp;lt;cfinvoke component=&amp;quot;methodaccess&amp;quot; method=&amp;quot;QBNTestLogin&amp;quot; returnvariable=&amp;quot;strg&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/cfinvoke&amp;gt;&lt;br /&gt;&amp;lt;cfoutput&amp;gt;&lt;br /&gt;&amp;nbsp;#strg#&lt;br /&gt;&amp;lt;/cfoutput&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As for Method I created a button that calls the &amp;quot;Call Web Service&amp;quot; action.&lt;br /&gt;&amp;quot;URL&amp;quot; - &lt;a href="http://www.quickbasenation.com/sandbox/methodaccess.cfc"&gt;http://www.quickbasenation.com/sandbox/methodaccess.cfc&lt;/a&gt;&lt;br /&gt;&amp;quot;Function Name&amp;quot; - &amp;quot;QBNTestLogin&amp;quot;.&lt;br /&gt;&amp;quot;Web server returns a response&amp;quot; - Checked&lt;br /&gt;&amp;quot;Action Result name&amp;quot;&amp;nbsp;- &amp;quot;qbnLogin&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2266.aspx</link><pubDate>Thu, 18 Mar 2010 18:40:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2266</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2266.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2266</wfw:commentRss><description>&lt;p&gt;Hi Brian -&lt;/p&gt;
&lt;p&gt;That&amp;#39;s not a very descriptive message is it?&amp;nbsp; It doesn&amp;#39;t seem to like something about your webservice.&lt;/p&gt;
&lt;p&gt;We can have a look at it for you.&amp;nbsp; What is the webservice URL you are using, and the parameter(s) you are passing?&lt;/p&gt;
&lt;p&gt;If it is confidential, feel free to send the info to method (at) methodintegration.com and we&amp;#39;ll have a look at it offline - preference would be to solve it here on the forum for the benefit of other coders.&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2265.aspx</link><pubDate>Thu, 18 Mar 2010 17:32:45 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2265</guid><dc:creator>BrianPoole</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2265.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2265</wfw:commentRss><description>&lt;p&gt;Just a quick note--&amp;nbsp;I&amp;nbsp;guess adding the&amp;nbsp;&amp;quot;http://&amp;quot; to the beginning of the URL fixed the&amp;nbsp;halting but I&amp;#39;m still getting &amp;quot;There has been an error during the action process.&amp;quot;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m doing a simple call to a function that only returns &amp;quot;Hello World!&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2264.aspx</link><pubDate>Thu, 18 Mar 2010 17:24:47 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2264</guid><dc:creator>BrianPoole</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2264.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2264</wfw:commentRss><description>&lt;p&gt;&lt;span class="Apple-style-span" style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:medium &amp;#39;Times New Roman&amp;#39;;white-space:normal;orphans:2;letter-spacing:normal;color:#000000;word-spacing:0px;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="font-family:arial;font-size:small;"&gt;Thanks Paul,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I am a coder, and I think that&amp;#39;s why I&amp;#39;m found&amp;nbsp;this a little counter-intuitive at first, but all-in-all the more I use this the more I like it. I&amp;#39;m trying to do as much in the UI as I can-- less&amp;nbsp;chance&amp;nbsp;of error.&lt;/p&gt;
&lt;p&gt;I did find&amp;nbsp;the web service call like you mentioned and it seems to be the ticket&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;I was looking for, is there any documentation on this? It seems the actions &amp;quot;stop&amp;quot; when I call this. (I&amp;#39;ve tried bringing up a generic &amp;quot;hi&amp;quot; message before and after this call, and it only seems to want to come up before.)&lt;/p&gt;</description></item><item><title>Re: Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2258.aspx</link><pubDate>Wed, 17 Mar 2010 02:23:11 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2258</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2258.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2258</wfw:commentRss><description>&lt;p&gt;Hi Brian -&lt;/p&gt;
&lt;p&gt;The Method API allows you to interact with&amp;nbsp;the data in Method (such as retreiving a list of customers, or inserting an invoice).&amp;nbsp;&amp;nbsp;It isn&amp;#39;t used to actually create a user interface.&lt;/p&gt;
&lt;p&gt;To create a user interface in Method, it&amp;#39;s done&amp;nbsp;by creating and customizing screens directly in Method itself - no coding, just drag and&amp;nbsp;drop.&lt;/p&gt;
&lt;p&gt;If you are a coder - &lt;em&gt;which I&amp;#39;m guessing you are seeing as you are on the MethodAPI forum and are working with dynamic XML&lt;/em&gt; - &amp;nbsp;you may not like the sound of making a screen using drag and drop.&amp;nbsp; But when it comes to the UI, this is where I recommend you go, it&amp;#39;s what users are used to, and what makes it easy for users to import an app that you make.&amp;nbsp; There are options available to you, such as creating links on Method pages call on other pages, Method web window objects&amp;nbsp;(which are iframes), or buttons that call external webservices.........but the more you design your UI using Method, the better.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;If you need heavy complex calculations or processing, I would suggest building as much UI as you can within Method, and then clicking a button that calls an external webservice to do the heavy processing.&lt;/p&gt;
&lt;p&gt;I hope that&amp;#39;s a good start.&amp;nbsp; Let me know if you need clarification.&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;</description></item><item><title>Dynamic Data</title><link>http://forums.method.me/cs/forums/thread/2257.aspx</link><pubDate>Tue, 16 Mar 2010 19:45:57 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:2257</guid><dc:creator>BrianPoole</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/2257.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=2257</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to create a custom tab with a list of data from a dynamic XML page. Is this possible?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;</description></item></channel></rss>