RodM Posted June 7, 2013 Posted June 7, 2013 if i test the url link using a browser my instructions from another client is if I open this below UR link... http://www.netlatitude.com/callcenter/agentcall/?agent=434101 it will return within 1 second return something like.. 434101_ 512461124_ 7132490724 ..and it does I tried.. creating a Web viewer in my layout pointing to this link. then use GetLayoutObjectAttribute( "myWebViewer layoutName" ; "source") doesn't work? I think this url qualifies for the site dynamically changes the content of the current page, instead of fetching a new one. Can anyone help suggesting how to grabbing ? 434101_ 512461124_ 7132490724 ANy ideas// you can help are appriciated
Raybaudi Posted June 7, 2013 Posted June 7, 2013 GetLayoutObjectAttribute( "myWebViewer layoutName" ; "source") You'll need to use "content" instead of "source" BTW: note that with 12 you could completely bypass the web viewer, using the new script step: Insert From URL 1
RodM Posted June 7, 2013 Author Posted June 7, 2013 Thks for the reply,.. fyi, I am really new to web stuff..  I am using FM ver 12  I didn't know that command.. Difference, seems it needs a field  And I tried "content" too  same? Tried insert URL too..  and still not capturing returning blank?  Attached file is code by image..       (Pssst   ..copy paste, cut etc.. is the pits in FM.. why the image)  Seem pretty simple..   Just hitting the URL.. with my browser it returns a string   But when I step thru this code  I get an image..  the layout line, (looks like a audio player with no controls. quickly showing my URL address immediately going away... so I am hitting the URL   ...leaving player up but viewing the var or the field is blank?
RodM Posted June 7, 2013 Author Posted June 7, 2013 Thanks again... just found my problem.. Name the Object Rod.. is not the layout... it the field... above the ToolTip.. "The Object Name" daaa.. and i got my content... now to add some elapse timeouts and a tiny delay.. I will look at you zip... bet its the answer...
RodM Posted June 7, 2013 Author Posted June 7, 2013 Very Nice.. Hope someone else benefits.. I had problems finding examples..the last message, answers my mistake, here shows how simple, a examples using different ways to extract a webpage..... Only sorry my example or URL won't stay active you ya long//.. This is particular Hosted VOIP provider.. and partner, does somethings special for me..Unhosted Voip is having a Asterick PBX loaded in hardware at your premise, and now adays.. a provider can more.. but most do not provide special hooks My app,,, I just need to let a operator press a button... the Voip system will give me the next caller ID in a cue Those are for incoming calls, and operator answer correctly call, taking messages. And via the same kind of web viewer.. the provider gives me a different hook or url trigger.. that dials any phone#, I add PH# parameter to url Dials, and i am using their softphone so I can talk to anyone. This is just a tiny piece of my whole tel messaging system..I keep adding to..
RodM Posted June 8, 2013 Author Posted June 8, 2013 Raybaudi I have a question.. in th calc field.. the getobjectlayout Were is the "wv" or object name created.. thats mind boggling me?
bruceR Posted June 9, 2013 Posted June 9, 2013 I interpret RodM's question to mean; how do you name an object? You select the object; and you give it a name in the inspector. Â
RodM Posted June 11, 2013 Author Posted June 11, 2013 thanks Bruce... your a jewel, you just have to interpret me don't you? I actually didn't find the object.. that's how stupid i was. puff puff! one of those FM things.. the wv icon image.. i couldn't grab high lite.inspect... or seems bolted to the tab obj some secret i haven't still figured I usually find the name under the toolkit, in the inspector.. i didn't ask the questions as well as you suggest..
RodM Posted June 12, 2013 Author Posted June 12, 2013 Sorry.. but i can not see any   wv   in the name of this obj Â
Lee Smith Posted June 12, 2013 Posted June 12, 2013 Hey Rod, I'm not sure of what the question is, but I'll throw this out to see it might be of help. The name doesn't appear automatically, if this is your file, you will need to supply your own name for it, and then use that name in referring to the Web Viewer. If you are using a script step to get information from the view, then be sure to name it the same as in the script step, or change it in the script to match your name for the viewer. HTH Lee
bruceR Posted June 14, 2013 Posted June 14, 2013 Hard to believe, but I guess I assumed too much. You can't see the name of the object because you have not entered a name for the object. As shown in my screen shot: 1. select the object 2. enter a name for the object in the NAME field in inspector.
RodM Posted July 17, 2013 Author Posted July 17, 2013 my problem has been in the example code another reply nicely offered.. RodM.zip above Trying to understand 'that code' sample code he has created 2 examples to get something IWP on a page.. his object is 'wv' in the newer option -- i get the older code working fine so.. i can't find where 'wv' is is the zip sample anywhere.. and it bothers me..
Recommended Posts
This topic is 4223 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now