UCCX 8 - use DOC [variable] is not possible?

Hi all

I'm actually busy develop some scripts and I am able to download messages, documents and all autonomous. Now, I need to compile everything in a script, and ideally, I would need to set some parameters as filename of DOCument...

If I try with something like:

Name: myDocument

Type: Document

Value: DOC ["FileStored.xml"]

It works perfectly.

If I try similar following:

Name: myVariable

Type: String

Value: 'FileStored.xml '.

Name: myDocument2

Type: Document

Value: DOC [myVariable]

It seems to not work.

My main goal is to be able to go and choose the good XML file based on the conditions that I could put in my script... If it is possible, we put a lot of 'ifs' to determine which file I need instead of concatenate the name of straight back on my terms...

A tip on how to do this?

Thanks in advance

Concerning

Christophe

Hi Christophe

My approach to this was as follows:

String, parameter, sDocumentFilename

If sDocumentFilename is a simple string and an entrable parameter in the web INTERFACE. You would set this to "myfile.xml" or anything that is appropriate.

Then in the script:

Set docWhatever = DOC [sDocumentFilename]

This will properly set docWhatever on DOC [myfile.xml]

This is probably a hidden game stage magic / the Document object that runs like this rather than using the name of the variable to the string in the variable for the Document definition. If I understand what you're asking correctly :-)

Concerning

Aaron

Please evaluate the useful messages...

Tags: Cisco Support

Similar Questions

  • Text added to the text field using the variable does not appear

    Hello

    I have a test field I created dynamically.  If I add some text to it by writing: myField.text = 'text', the text if poster, but if I add text using a variable is nothing.  If I trace trace text in the text field ("text =" myField.text) get good value.

    Someone at - it ideas?

    Best regards

    Chris McLaughlin

    Try to comment out the two lines below and see if it helps...

    ["textField" + guestCueCnt 'c'] .defaultTextFormat plus myFormat;
    ["textField" + guestCueCnt + 'c'] .embedFonts = true;

  • APEX 4.0: > Charts: chart of queries using Bind variables > does not?

    SITUATION
    -Attempt to pass a value to the variable in a query.
    -The value of the variable is taken from a page element.
    -SQL is built using a function that returns the SQL


    QUESTION
    -Table returns "no data found".
    -When we hard code the value, the data is returned and the graphic works.
    -SQL works fine in SQL Browser and Toad
    -Reproduce this problem on 3.2
    -Have you tried the two bind syntax (+: point +) and v (v ('item')) syntax

    If anyone else has experienced this? No idea how to fix?

    Walter,

    Perhaps a better way to get the logic you are looking for is to keep it in the process.

    A few examples:
    1. you can use the conditional rendering process so that it fires only when the values of the elements are NULL.
    2. you can use the conditional process rendering so that it fires when the value of the claim is equal to something and then set it via the link to the page.
    3. you can do it directly in the code:

    BEGIN
    
       IF :P2_ITEM IS NULL
       THEN
          :P2_ITEM := 'Some default value';
       END IF;
    
    END; 
    

    Kind regards
    Dan

    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

  • not possible to bind a variable shared via Ethernet network

    Hello!

    I have computer A and B with windows xp, sp3 and labview 8.6, professional edition. The two computers are in the ethernet network. I'd like to Exchange data between two applications of LV using shared variables. I create a shared variable (published network) on both computers.
    The problem is in the properties of shared variables not possible to bind the variable of the remote computer to the local computer. In the first step, there is even no possible to see any computer on the network. After the registration of the computer (Tools-> shared-> computer registry variable)
    I see the computer remote, but without any variable sharing.

    Do you have any idea how to solve this problem?

    Thank you for the answers.

    Hi ,

    Visit this link, maybe it can help you.

  • Bind variables are not getting used

    Hi all

    Do not use bind variable on my Oracle 11g server. That's why same query duplicate in the aqlarea view. Please tell em how to overcome this problem.

    SELECT * FROM message_data WHERE (organizationid = '1') AND (entityid = '105055933') AND (unit = 'employment') AND (status! = '1') ORDER BY id ASC

    Thank you

    What is the value of your cursor_sharing parameter?

    If that is CORRECT they will share the SQL area only when their texts match exactly.
    You need to put STRENGTH to similar statements to share SQL or SIMILAR.

    Take a look at: http://docs.oracle.com/cd/B19306_01/server.102/b14211/memory.htm#sthref496

  • Why is it not possible to use SIRI on my apple TV remote to control the HomeKit products? I should be able to control all the devices with my Apple TV remote and SIRI HomeKit!

    Why is it not possible to use SIRI on my apple TV remote to control the HomeKit products? I should be able to control all the devices of HomeKit with my SIRI voice remote control and using Apple TV!

    If the new apple TV can act as a concentrator HomeKit and I use SIRI on my iPhone to control my locks, thermostat, lights, etc. Why am I not able to do the same thing with SIRI via voice commands on my Apple TV remote? When is this going to work?

    Also, when Apple will come out with a response to the echo of Amazon? I've tired to wait... do it already! If you build it, they will come...

    Thank you!

    This is a community to a user, and Apple will not see your rant. If you have suggestions about Apple TV, Siri and HomeKit the best thing to do is to submit your comments here. http://www.Apple.com/feedback/AppleTV.html

  • Not possible to use the Nvidia GPU both graphics primary source all the time?

    I went through the manual and the tips of help from Lenovo and it seems that it is not possible to use the NVIDIA GeForce 840 M, 2 GB as the exclusive GPU card.

    The only control that I can find is one in the Panel of 3D graphics and if I read this correctly it assigns that Nvidia will be used when require it strong application processes (I'm guessing games play?) but for activities such as photo editing, it is up to the intel sur-bard chip

    brian1208 wrote:

    I went through the manual and the tips of help from Lenovo and it seems that it is not possible to use the NVIDIA GeForce 840 M, 2 GB as the exclusive GPU card.

    The only control that I can find is one in the Panel of 3D graphics and if I read this correctly it assigns that Nvidia will be used when require it strong application processes (I'm guessing games play?) but for activities such as photo editing, it is up to the intel sur-bard chip

    To force an application to use your NVIDIA graphics card, right click on its shortcut (or an .exe file), point on run with graphics processor and select the NVIDIA processor high performance.

  • WARNING: Incompatible Arg. You can't use stack Variables If generating series is not defined

    What does this message mean?

    "WARNING: incompatible Arg. you can't use stack Variables If generating series is undefined."

    Where can I put generate series only?

    Thank you

    Derek

    Hi Derek,.

    Not all LabVIEW C Generator settings are compatible with each other. In this case, you must define generate series only (aka 'disable parallel execution') If you want to generate the code uses the variable stack.

  • Is it not possible to get (or use) a search string that includes a reference object?

    Hello world

    I try to get the full search string property for the property "xl" seen below at the bottom of the image.

    I can go as far as the other results [0] (which is a reference), but after that, it seems not possible to access the "xl".

    "TS. SequenceCall.ResultList [0]. TS. SequenceCall.ResultList [0]. TS. SequenceCall.ResultList [0]. "AdditionalResults [0].

    If I get the interface for the object of 'xl' and then ask 'place' in what concerns the "MainSequenceResults", I get an empty string.

    Get the property for container objects and properties in the object "xl" also give the same result when I call «GetLocation (...)» with the MasterSequenceResults the TopObject property.

    Is it not possible to have a search string that includes a reference object?

    Thank you

    Ronnie

    Hi Ronnie,.

    It is possible, but to get this value, you can use the TestStand API. I have attached a sequence file that shows how to get the values of reference of object using AsPropertyObject, and then the associated GetVal method. It is much easier to understand with an example. Let me know if you have any questions about the sample file of sequence.

  • Error: "it is not possible to disable the connection at this time. "This connection may be using one or more protocols that don't support Plug-and-play, or it may have been initiated by another user or the system account.

    Original title: unable to disable my lan connection

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • I turn off my connection to the local network, it is showing message.

      It is not possible to disable the connection at this time. This connection may be using one or more protocols that don't support Plug-and-play, or it may have been initiated by another user or the system account.

      Please answer soon

      You have problems with programs

    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi MVTDA,

    You can try the following methods and check to see if it helps:

    Method 1:

    a. Click Start and select run, type cmd and click OK.

    b. type net stop cryptsvc and press ENTER.

    c. type ren %systemroot%\System32\Catroot2 oldcatroot2, and then press the Enter key.

    d. restart the computer.

    e. open new command prompt and Type net start cryptsvc, and press ENTER.

    Method 2:

    If the same problem persists then you can try to uninstall the network drivers and check.

    a. click the Start button. Select run, type devmgmt.msc and press OK.

    b. Select the network card and right click on it.

    c. now, select Properties.

    d. in the Properties window, on the driver tab, click Uninstall.

    e. After you have uninstalled the drivers, restart the computer.

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Mr President, I put in my window 7 Professional which I totally forgot the admin password, I'm not able to use my computer, is it possible to recover the admin password?

    Mr President.

    I got the admin password in my window 7 Professional which I totally forgot, I'm not able to use my computer, is it possible to recover the admin password?

    There is no way to retrieve a forgotten password. However, you can do this:

    1. Set your BIOS so that it uses the DVD drive as its primary boot device.
    2. Start the computer with your Windows 7 repair CD.
    3. Press a key when prompted to boot from the DVD.
    4. Select 'PC Repair' in the menu.
    5. Select 'Repair' when prompted.
    6. When you are prompted, select System Restore.
    7. Configure Windows to a point until you have changed the password.
    8. Plan ahead a little and create, test and document an alternative admin account, same as you have a spare emergency House key.
  • Even if I renewed my package and have made payment but it still is not applied. 2 hours alread have disappeared. What can I do? I need to use photoshop as soon as possible.

    Even if I renewed my package and have made payment but it still is not applied. 2 hours alread have disappeared. What can I do? I need to use photoshop as soon as possible.

    Please sign CC desktop Application and sign in the back.

    Please see connect and disconnect activate Cloud Creative applications

    Hope this will help you.

    Kind regards

    Hervé Khare

  • It is not possible to use "Show pointer" on 7-inch screens.

    It is not possible to use "Show pointer" on 7-inch screens. The second pointer on the left, who would normally stimulate the ALT is not visible. The pointer is hidden behind the left hand tool bar! I use Photoshop Touch on a 7¹³ of Nexus and I, it's a great software and it became even more impressive if that problem is fixed ;-)

    I can't repro this on my Nexus 7 2013 I can see the 'hold' in the bottom icon to the left, but it is a bit hidden by the icon 'redo '. I can still tap to finish the operation, even if I can do it again.

    I was also able to get around by touching the icon screen, 1st icon from the upper right. This allows a full view of the "hold" icon

  • "It is not possible to use 64 bit" Message with ESX guest on Windows 7 x 64 host

    I get the "you have configured the virtual machine to use an operating system 64-bit client.» However, the 64-bit mode is not possible. This host is capable of VT, but VT is disabled.

    Enabled virtualization in the BIOS, I get this message. I also tried to activate and deactivate the "Trusted Execution" on the CPU, nothing works.

    CPU is Intel Core 2 Duo T7300 in a HP Compaq 6910p and well of course x 64 capable, as the host is running Windows 7 x 64.

    I rebooted, reinstalled the workstation, no idea why I continue to get this message?

    While making sure, but do you have you completely power off your system after installing VT turned on in the BIOS?

  • Using of Variable in the filter expression will not scan.

    IN ODI 11.1.1.3.0, I've defined a Variable of type 'Alphanumeric' (SelectionDate), default = January 1, 1970 with the query select: select to_char (SYSDATE, 'DD-MON-YYYY') of double.
    I intend to use this variable as a scenario (parameter) variable that receives a value in the form "DD-MON-YYYY', of the execution environment.
    I refreshed the variable and the value received June 16, 2011 (current date). So far so good.

    Then, I defined an Interface and use the variable in a filter expression:

    Filter active: checked

    Tab implementation:
    SOURCE_VIEW. SELECTION_DATE BETWEEN TO_DATE (' #PROJECT1.) SelectionDate', 'DD-MON-YYYY') AND (TO_DATE (' #PROJECT1.)) SelectionDate', 'DD-MON-YYYY') + 1).

    Run on: Source

    During the verification of the expression (click the check mark in the application tab) I always get: Expression is not valid for the DBMS. java.sql.SQLDataException: ORA-01858: a non-digit character was found here where was waiting for a digital.

    I can't filter to analyze. Thank you for your ideas of what could be wrong.



    Jose.

    Hi Jose,

    You must set this variable in a package and refresh it. Then place your interface with the current filter condition.
    Run the package. It should work.

    Thank you
    Fati

Maybe you are looking for