help with script Math.Random display)

OK, after help on another thread I managed to get this script


var r_text = new Array ();
r_text [0] = "all the leaves are brown;
r_text [1] = "and the sky is gray."
r_text [2] = "I was for a walk."
r_text [3] = "on a winter day.
r_text [4] = 'I'd be safe and warm. "
r_text [5] = "If I is in L.A."
r_text [6] = "California dreaming, such a winter day;
var i = Math.floor (7 * Math.random ())

document. Write (r_text [i]);

who will work on webpages when updated, but I need it to operate when a button is pressed and displayed in a text field in my pdf

I'm a total noob with javascript only to start learning today so as much help that pos will be great thanks in advance

Instead of this line:

document. Write (r_text [i]);

You need to use something like this:

this.getField("Field_name").value = r_text [i];

Or if you use it as the custom text field calculation script:

Event.Value = r_text [i];

Tags: Acrobat

Similar Questions

  • Help with script distributed switches Reporting

    Hello everyone, my name is Sebastian and I have a question for the VMware community.

    I need to know what network card physical and ESX are connected to a distributed switch. I've found that for Virtual Switch: Re: help with vSwitch reporting script. I would do the same thing with DvSwitch.

    Any idea?

    Thank you very much in advance for your help.

    Kind regards

    Sébastien.

    Take a look at 1. Re: get NIC host assigned to a dvSwitch  

  • Help with script from beginner to the data store and hard drives

    Hello

    I am quite new to scripting, and recently, I created a monstrosity below.

    The problem is with the results. I have no idea why in the results I get the name of the virtual machine and its data store over and over again until all disks are highlighted.

    Any help will be very very much appreciated.

    The script:

    $raport = @)

    Foreach ($i in (Get-Content "Y:\vms.txt"))

    {

    $rekord = «»

    $vm = get-vm-name '$i '.

    $dysk1 = $vm | Get-hard drive | where {$_.} Name - eq 'Disk 1'}

    $datastore1 = $dysk1.filename.split("]") [0].split("[") [1]

    $disks = $vm | Get-hard drive

    {foreach ($disk in $disks)

    $hd = «»

    $disksize = ($disk. CapacityGB)

    $hd += $disksize

    {$rekord += $vm.name + ";" + $datastore1 + ";" + $hd}

    $raport += $rekord

    }

    $raport | out-file 'Y:\dyski.csv '.

    The results in csv:

    VM1Name; datastoreName; 60; VM1Name:datastoreName; 50; VM1Name; datastoreName; 40

    VM2Name; datastoreName; 45; VM2Name; datastoreName; 40

    The results of dream in csv:

    VM1Name; datastoreName; 60; 50 40

    VM2Name; datastoreName; 45 40

    etc.

    Try like this

    $raport = @)

    Foreach ($i in (Get-Content "Y:\vms.txt"))

    {

    $rekord = «»

    $vm = get-vm-name '$i '.

    $disk = $vm | Get-hard drive

    $datastore = ($disk | where {$_.}) Name - eq "disk 1" hard}).filename.split ("]") [0].split("[") [1].

    $rekord = "$($vm.)". The name); $($datastore); $(($disk | sélectionnez-ExpandProperty CapacityGB)-join ' |') »

    $raport += $rekord

    }

    $raport | out-file 'Y:\dyski.csv '.

  • Help with script to change the network name.

    Hello

    I made a small script to help me rename the label of network on a portgroup and then correct the label of network on all the virtual machines with this label.

    I came across the problem that it could not update on the virtual machines network label because the portgroup did not exist (this must be because it does not wait for the first order at the end?). I fixed that by doing a line with: "Start-Sleep-seconds 10.

    The script works, but I don't like the solution with 10 sec sleep because it could go wrong if the portgroup takes more than 10 seconds to create (unlikly).

    I tried different things, for example "Wait-task" but without success.

    any ideas?

    $esxi = Read-host "enter the IP address of the host."

    $portgroup_old = Read-host "Enter the name of the portgroup you wish to rename.

    $portgroup_new = Read-host "enter the new name of the portgroup.

    Get-VMHost-name $esxi | Get-VirtualPortGroup-name $portgroup_old | Game-VirtualPortGroup-name $portgroup_new

    Start-Sleep - seconds 10

    Get-VMHost-name $esxi | Get - VM | Get-NetworkAdapter | Where {$_.NetworkName - eq $portgroup_old} | Together-NetworkAdapter - NetworkName $portgroup_new - confirm: $false

    Unfortunately, with groups of standard port vSwitch, that's what you're stuck with.

    You could try a loop 'while' like this instead:

    Get-VMHost-name $esxi | Get-VirtualPortGroup-name $portgroup_old | Game-VirtualPortGroup-name $portgroup_new

    While (Get-VMHost-name $esxi |) Get - VM | Get-NetworkAdapter | Where {$_.NetworkName - eq $portgroup_old})

    {Get-VMHost-name $esxi |} Get - VM | Get-NetworkAdapter | Where {$_.NetworkName - eq $portgroup_old} | {Set-NetworkAdapter - NetworkName $portgroup_new - confirm: $false}

  • I need help with script of 'Edit arc' Russell Brown

    Hello

    I installed the script of 'Edit arc' Russell Brown for CS6. It does not play right. I go to the window > Extensions > edit in an ARC and choosing a layer to run the script. I then run the script. the layer converts it to a smart object and opens in the CRA. I treat layer in an ARC and choose 'Open' and then when the layer opens this file is smaller that before I was running the script (i.e. If layer a face of a person on this subject face decreased after treatment of CRA.)

    My Adobe Camera Raw preferences are set to automatically open all the tiffs supported. The file is 300 ppi, 8bits.  My settings of the CRA are 8 bits 300 ppi. I also tried to change the settings of the CRA to 16-bit, 300 dpi. I'm on a mac equipped with the trial version of photoshop CS6. I don't know why the layer shrinks. It seems like ARC treats the file to 240 DPI or something. Can anyone help? Thank you.

    I don't have so I can't test this, but I think that if you change the "Adobe ACR Editor.jsx" script that was installed during the installation of the CS6 Panel, you should be able to match the ppi of the cab to your ppi CS6 documents.

    Modify it, you need to do is to comment out or remove the following lines.

    // change image res to match defalut ACR 240
    if( app.activeDocument.resolution != 240 ) {
        var docRes = app.activeDocument.resolution;
        app.activeDocument.resizeImage(undefined, undefined, 240, ResampleMethod.NONE);
    }
    
  • Help with spry does not display using ssi

    Hello

    I have reviewed the previous tutorials and can't find where is my mistake.  I cut and pasted the code for spry on an include with the extension .shtml file.  I mentioned it in the file and header seeems correct,

    My files are relative root

    I have a file called includes, you can view the source here

    http://crystalbeach.com/funthings/includes.shtml

    Here is my link that is supposed to be the spry navigation bar display.

    http://crystalbeach.com/funthings/index_erinn.shtml

    Help, please!

    Thank you

    http://crystalbeach.com/funthings/index_erinn.shtml

    Line 29

    is simply an ordinary HTML comment. It doesn't do anything.

    Implement

    [an error occurred while processing the directive]

    This means that your include file is named includes.shtml and it is always stored in a folder called «funthings» Many people store includes inside a folder named "includes" in the folder root on the server.

    NOTE: the .shtml file extension applies to the page parent asking the include file.

    The include file can have any file extension would be for example menu.monkeybutt where the code include[an error occurred while processing the directive]

  • Help with script snowfall...

    Someone has a link to a script of snow falling which works in AS3? I wish that one of the good ones with the snow that falls in random patterns. It must be transparent, but so that it will fall on a bottom.

    I found some in regard to heavy snowfall, but apparently his AS2 and apparently AS2 and AS3 work together on as well as a monkey and a soccer ball to mate.

    It seems at least the code could cross between the two, but I don't think.

    Thanks in advance.

    Try the following link: http://www.adobe.com/devnet/flash/quickstart/external_files_as3/

    It's an article entitled 'Work with symbols and the Document class' contains a working example of snowfall in AS3

  • Help with script UCCX

    Hello again everyone. I'm working on a project that is due today and I'm stuck. My script when it is called desire invites pin code when entered pin is correct, it will be propmt to press 1 for bad weather, etc., to read a message on our call center Quebec and everything works fine. My question is if bad weather is triggered not only play this message iin the than what he does but also place telephone calls to numbers outside and play the greeting of bad weather for them that say to inform our customers that, due to the bad weather, shippments might be delayed. This part does not work. He calls the first number but ends the call immediately. I have attached my op it that will help you. Thank you in advance.

    Quick to play the part of output market successful stage of appeal Place... Change - triggering Contact - the contact that you created in the step to call Place...

  • Help with script overset text?

    Hi, I found this script I think it is by Laubender. Which I use for a while now and I love it. It is easier to see where the blocks of text with overset text.  My Question is.  How would change this to get rid of the fill color of Magenta (perhaps with the original color of text box before the Script ran?) after the overset text is corrected

      app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;   
      app.doScript  
        (  
        detectOverflowingTextFrames,  
        ScriptLanguage.JAVASCRIPT,  
        [],  
        UndoModes.ENTIRE_SCRIPT,  
        "Detect Overflowing TextFrames | SCRIPT"   
        );  
        
      function detectOverflowingTextFrames() {    
      var storyArray = app.documents[0].stories.everyItem().getElements();  
      var storyArrayLength = storyArray.length;  
    
     // A loop through all the stories of the document:  
      for(var n=0;n<storyArray.length;n++)  
      {  
        // The condition should be clear.  
        // However, there is one rare case where overflows is false,  
        // but the text frame is showing a red + sign:  
        // If a footnote text overflows in the last frame of a threaded story.  
         
        if(storyArray[n].overflows)  
        {  
          // TextContainers could be textFrames and textPaths !!  
          var textContainersArray = storyArray[n].textContainers;  
          var lastTextContainer = textContainersArray[textContainersArray.length-1];  
           
          // A function call to the last text frame, if its story overflows:  
          doSomethingWithTextContainers(lastTextContainer);  
         };  
        
      }  
        
      function doSomethingWithTextContainers(/*textFrame or textPath*/textContainer)  
      {  
        if(textContainer.constructor.name == "TextFrame") // Could be text on path as well  
        {  
          // Here your code that is changing the size of your frame  
          // In my example code here it will only fill the frame with color Magenta:  
          textContainer.fillColor = "Magenta";  
          // If you want to move the text frame, consider to unlock it first, if it is locked.  
        }  
        if(textContainer.constructor.name == "TextPath")  
        {  
          // Here your code, if text on a path should overflow.  
          // Depending on the pageItem that holds the path, the parent should be the pageItem you are interested in.  
          // Usually a graphicLine or a polygon. Could also be an oval, a rectangle or even a textFrame.  
           textContainer.parent.fillColor = "Magenta";  
           textContainer.parent.strokeColor = "Magenta";  
        }  
       
      }  
        
    };  
    

    Thank you

    Alain bombaert

    As long as you do not create a new text container to correct excessive; the following script should work for you.

    //Scripted by ?Laubender?
    //modified by Skemicle
    if (parseFloat(app.version) < 6)
    main();
    else
    app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Splice Image Along Path");
    function main() {
        var doc = app.activeDocument;
        var stories = doc.stories;
        for(s=0;s		   
  • Need help with script java folder level for silent registration with unique file name

    That's what I'm trying to do

    1. when a person completes the request on one of our computers in the office, there will be a button send at the bottom of the application.

    2 submit the application on is automatically stored on the local server with the file name determined by the fields name and surname on the application.

    example - John Doe Application.pdf

    Saved in the folder C:\Users\Station1\Desktop\FinishedApplication.jpgApplications

    3. This is the example of code I found, but I don't know how to enter which fields determine save name and where to save it to.

    http://thelivecycle.blogspot.de/2015/06/save-with-new-name-in-specified.html

    http://thelivecycle.blogspot.de/2015/06/save-with-new-name-in-specified.html http://thelivecycle.blogspot.com/2009/11/save-form-to-specific-directories-and.html

    Thank you!

    Lol this is the part that you need as a script to the folder level:

    var lcbSaveAs = app.trustedFunction (function (vDoc, vPath) {}

    app.beginPriv ();

    vDoc.saveAs ({cPath: vPath});

    app.endPriv ();

    });

    This is the code you use in your file:

    lcbSaveAs (, "/ C/users/specialisee1/Desktop/result /" + this.getField("FirstName").valueAsString + "" + this.getField("LastName").valueAsString + "Application.pdf");

    lcbSaveAs is the name of the function of trust.

    vDoc.saveAs is the Document object, call the saveAs method.

    I don't know what oDoc.SaveAs is, or where you got it.

  • Need help with script to remove audit ASM files

    Hello

    It would be great if someone can provide me with a script to delete the files of audit and trace on ASM files

    Thank you

    Aerts.

    Ed,

    I have a shell script which is run via cron once a week.  Of course, you need to change the location of the trace and audit files.  This script will remove all files .trc and .trm more than 10 days

    #! / bin/bash

    find/u01/app/oracle/diag/rdbms /... dbname... / path-name ' * .trc ' - mtime + 10 - type f-exec rm '{} ';

    find/u01/app/oracle/diag/rdbms /... dbname... / path-name ' * .trm ' - mtime + 10 - type f-exec rm '{} ';

  • Need help with script to find the virtual computer by IP

    Looking for a script that will correspond to the vm to IP, but should be able to find several IPS at the same time.

    I put this together from scripts on the net, which works well to search for a single IP address at a time:

    $match_address = Read-Host "enter the IP address to find."

    Get - VM | %{

    $vmips = $_. Guest.IPAddress

    {foreach ($ip in $vmips)

    If ($ip - as $match_address) {}

    "VM found correspondence address: {0}" f $_. Name

    }

    }

    }

    But would need to be able to enter several IP addresses of different subnets in the $match_address and search script for a match for every ip address.

    Could you please try this?

    function search-VMAssociatedToIP {}

    (param

    $ArrayOfIPToCheck

    )

    {in process

    $VMsAndAssociatedIP = get-view - viewtype 'virtualmachine ' | {foreach-object

    $VM = $_

    $_.guest.net | {foreach-object

    $Net = $_

    $_. IpAddress | {foreach-object

    $IpAddress = $_

    $Output = New-Object-Type PSObject-Prop ([ordered] @ {}

    "VM" = $VM. Name

    "NetworkName" = $Net.Network

    "IP address" = $IpAddress

    })

    Return $Output

    }

    }

    }

    $ArrayOfIPToCheck | {foreach-object

    $IPtoCheck = $_

    $VMsAndAssociatedIP | where {$_.} IpAddress - eq $IPtoCheck} | {foreach-object

    $Output = New-Object-Type PSObject-Prop ([ordered] @ {}

    "IpToCheck" = $IPtoCheck

    'VM' = $_. VM

    "NetworkName" = $_.NetworkName

    'IpAddress' = $_. IpAddress

    })

    Return $Output

    }

    }

    }

    }

    $MyArray = "10.0.33.1","10.0.30.11","10.0.20.11","10.0.32.1".

    Search for VMAssociatedToIP - ArrayOfIPToCheck $MyArray | OGV

    Use a table entry.

    First get the IP addresses of all computers installed correctly (only for virtual machines with VMware tools) virtual based on get - view so the collection will be fast.

    Then compare with the PPE provided as input.

  • Help with script

    Hello

    I'm just trying to create a script that automatically:

    > Check the selected layer is a target (or node 2) camera

    If Yes, then

    > How to create a 3d Null object [name = same camera selected more "_Target"]

    > Links the position of Point of interest of the camera selected to the position of the new Null object

    If someone could help me to restore it I would be very grateful.

    Thank you

    Spencer

    Whether a camera is a node or two nodes is not completely clear because there is no corresponding layer attribute.

    But because you want to put a phrase in the poi property, you must use canSetExpression and solves this kind of car.

    If you have never written before, here is a code example to inspire:

    function campoi(){
        var comp = app.project.activeItem;
    
        if (!(comp instanceof CompItem)) return;
    
        var layers = comp.selectedLayers;
        var n, N=layers.length;
        var null3D;
        var num2NodesCams = 0;
    
        for (n=0; n
    

    Xavier

  • help with script - create the jdeveloper build script to build

    Hello
    I'm being created build script for my portal webcenter application. I use jdeveloper 11.1.1.5.

    After reading some content, I am trying to use the simplest approach - it's creating build.xml thru jdeveloper.

    I selects the project portal, and then select new > project buildfile. and it creates huge build.xml and build.properties for me.

    It is this--

    * <? XML version = "1.0" encoding = "windows-1252"? > *.
    * <! - ant buildfile generated by Oracle JDeveloper - > *.
    * <!-generated on April 30, 2013 12:37:38 - > *.
    ' * < name of project = 'Portal' default = "all" basedir = ". ' > *.
    * < property = "build.properties" file / > *.
    * < path id = "library. WebCenter.Content.Templates.Tag.Library"> *.
    -----------------------
    --------------------------
    ------------------
    * < / path > *.
    * < target name = "init" > *.
    * < tstamp / > *.
    * < mkdir dir = "${output.dir}" / > *.
    * < / target > *.
    * < target name = "all" description = "building the project."
    function = "deploy, compile, copy" / >
    * < target name = 'clean' description = 'Clean up the project' > *.
    * < remove includeemptydirs = 'true' quiet = "true" > *.
    "< * fileset dir =" ${output.dir} ' includes = "* / *" / > *.
    * < / remove > *.
    * < / target > *.
    * < name target = "deploy" description = "Deployer JDeveloper profiles."
    function = "init, compile" >
    * < taskdef name = "ojdeploy."
    ClassName = "Oracle.JDeveloper.deploy.ant.OJDeployAntTask"
    URI = "oraclelib:OJDeployAntTask".
    *classpath="${Oracle.JDeveloper.Ant.library}"/ > *.
    * < xmlns:ora ora: ojdeploy = "oraclelib:OJDeployAntTask."
    * Executable = "${Oracle.JDeveloper.ojdeploy.Path}" *.
    *Ora:buildscript="${Oracle.JDeveloper.deploy.dir}/ojdeploy-build.xml"*
    * ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml" > *.
    * < ora: deploy > *.
    * < name of ora: parameter = "workspace."
    *value="${Oracle.JDeveloper.workspace.path}"/ > *.
    * < name of ora: parameter = "project."
    *value="${Oracle.JDeveloper.project.name}"/ > *.
    * < name of ora: parameter = "profile."
    *value="${Oracle.JDeveloper.deploy.profile.name}"/ > *.
    * < name of ora: parameter = "nocompile" value = "true" / >. *
    * < name of ora: parameter = "outputfile."
    *value="${Oracle.JDeveloper.deploy.outputfile}"/ > *.
    * < / ora: deploy > *.
    * < / ora: ojdeploy > *.
    * < / target > *.
    * < name target = "compile" description = "Java compile source files" depends = "init" > *.
    * < javac destdir = "${output.dir}" classpathref = "classpath" * "
    * debug = "${javac.debug}" nowarn = "${javac.nowarn}" * "
    * deprecation = "${javac.deprecation} ' encoding ="Cp1252"source ="1.6"*"
    * target = '1.6' > *.
    * < path src = "src" / > *.
    * < / javac > *.
    * < / target > *.
    * < target name = "copy" description = "copy files to the output directory."
    * depends on = "init" > *.
    * < patternset id = "copy.patterns" > *.
    * < include name="**/*.gif"/ > *.
    * < include name="**/*.jpg"/ > *.
    * < include name="**/*.jpeg"/ > *.
    * < include name="**/*.png"/ > *.
    * < include name="**/*.properties"/ > *.
    * < include name="**/*.xml"/ > *.
    * < include name="**/*.ejx"/ > *.
    * < include name="**/*.xcfg"/ > *.
    * < include name="**/*.cpx"/ > *.
    * < include name="**/*.dcx"/ > *.
    * < include name="**/*.sva"/ > *.
    * < include name="**/*.wsdl"/ > *.
    * < include name="**/*.ini"/ > *.
    * < include name="**/*.tld"/ > *.
    * < include name="**/*.tag"/ > *.
    * < include name="**/*.xlf"/ > *.
    * < include name="**/*.xsl"/ > *.
    * < include name="**/*.xsd"/ > *.
    * < / patternset > *.
    * < copy todir = "${output.dir}" > *.
    * < fileset dir 'src' = > *.
    * < patternset refid = "copy.patterns" / >. *
    * < / fileset > *.
    * < / copy > *.
    * < / target > *.
    * < / project > *.


    now when I run that build.xml file, here is my output:

    * Buildfile: C:\JDeveloper\mywork\buildTest\Portal\build.xml*

    * init: *.

    * compile: *.

    * deploy: *.
    * [ora: ojdeploy]-file build-*.
    * [ora: ojdeploy] <? XML version = "1.0" standalone = 'Yes'? ". > *.
    * [ora: ojdeploy] < ojdeploy-construction > *.
    * [ora: ojdeploy] < deployment > *.
    * [ora: ojdeploy] < name of the parameter = "workspace" value="C:\JDeveloper\mywork\buildTest\buildTest.jws"/ > *.
    * [ora: ojdeploy] < the name of the parameter = value 'project' = 'Portal' / > *.
    * [ora: ojdeploy] < name of the parameter = value "profile" = "*" / > *.
    * [ora: ojdeploy] < the name of the parameter = "nocompile" value = "true" / >. *
    * [ora: ojdeploy] < name of the parameter = "outputfile" value="C:\JDeveloper\mywork\buildTest\Portal\deploy\${profile.name}"/ > *.
    * [ora: ojdeploy] < / deploy > *.
    * [ora: ojdeploy] < default > *.
    * [ora: ojdeploy] < name of the parameter "buildfile' value="/C:/JDeveloper/mywork/buildTest/Portal/deploy/ojdeploy-build.xml"/ = > *.
    * [ora: ojdeploy] < name of the parameter 'statuslogfile' value="C:\JDeveloper\mywork\buildTest\Portal\deploy/ojdeploy-statuslog.xml"/ = > *.
    * [ora: ojdeploy] < / defaults > *.
    * [ora: ojdeploy] < / ojdeploy-construction > *.
    * [ora: ojdeploy]-*.
    * [ora: ojdeploy] 30 April 2013 15:48:06 oracle.bali.xml.gui.jdev.JDevXmlContext _setProjectAndAttachDetach *.
    * [ora: ojdeploy] INFO: open defense in the Portal.jpr project in the creation of XmlContext (web.xml) *.
    * [ora: ojdeploy] 30 April 2013 15:48:06 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger willPrepare *.
    * [ora: ojdeploy] INFO:-deployment began. ----*
    * [ora: ojdeploy] *.
    * [ora: ojdeploy] 30 April 2013 15:48:06 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger printTargetPlatform *.
    * [ora: ojdeploy] INFO: target platform is (Weblogic 10.3). *
    * [ora: ojdeploy] *.
    * [ora: ojdeploy] 30 April 2013 15:48:07 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger willPrepare *.
    * [ora: ojdeploy] INFO:-deployment began. ----*
    * [ora: ojdeploy] *.
    * [ora: ojdeploy] 30 April 2013 15:48:07 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger printTargetPlatform *.
    * [ora: ojdeploy] INFO: target platform is (Weblogic 10.3). *
    * [ora: ojdeploy] *.
    * [ora: ojdeploy] 30 April 2013 15:48:07 oracle.jdevimpl.deploy.common.ProfileDependencyAnalyzer deployImpl *.
    * [ora: ojdeploy] INFO: runs the analysis of dependence... *.
    * [ora: ojdeploy] *.
    * [ora: ojdeploy] 30 April 2013 15:48:08 oracle.jdevimpl.deploy.common.ModulePackagerImpl deployProfiles *.
    * [ora: ojdeploy] INFO: deployment of 3 profiles... *.
    * [ora: ojdeploy] *.
    * [ora: ojdeploy] 30 April 2013 15:48:15 oracle.adfdtinternal.model.portlet.mds.PortletMarPlugin exportPortletMds *.
    * [ora: ojdeploy] INFO: perform a complete export of the producers to: [C:\JDeveloper\mywork\buildTest\.mdsExport].*
    * [ora: ojdeploy] 30 April 2013 15:48:15 oracle.adfdtinternal.model.portlet.mds.PortletMarPlugin exportPortletMds *.
    * [ora: ojdeploy] INFO: export of portlet metadata and customizations.*
    * [ora: ojdeploy] *.
    * [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:16
    * [ora: ojdeploy] NOTIFICATION: the export operation started.*
    * [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:16
    * [ora: ojdeploy] NOTIFICATION: export is complete. Total number of documents successfully processed: 0, total number of documents failed: 0.*
    * [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:39
    * [ora: ojdeploy] NOTIFICATION: the export operation started.*
    * [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:39
    * [ora: ojdeploy] NOTIFICATION: export is complete. Total number of documents successfully treated: 23, total number of documents failed: 0.*
    * [ora: ojdeploy] 30 April 2013 15:48:39 oracle.mds.internal.dt.packaging.MDSMarDeployer logFileWritten *.
    * [ora: ojdeploy] INFO: written MAR file to file:/C:/JDeveloper/mywork/buildTest/deploy/AutoGeneratedMar.mar*
    * [ora: ojdeploy] 30 April 2013 15:48:52 oracle.mds.internal.dt.packaging.WarPackagingListener prepared *.
    * [ora: ojdeploy] WARNING: WARNING: integration of view ADF with MDS not configured to 'Portal.jpr', JSPX, JSFF files or their customizations to MAR will be ignored when running. Enable setting customizations seeded under the view of the ADF option in the project properties to configure even MDS
    * [ora: ojdeploy] 30 April 2013 15:49:03 oracle.jdevimpl.deploy.war.WarDeployer writeWarFile *.
    * [ora: ojdeploy] INFO: Application Module Web wrote to file:/C:/JDeveloper/mywork/buildTest/Portal/deploy/buildTest_webapp1.war*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace ' / oracle/adf/share/prefs is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/cycle of life/importexport" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/lock" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/rc ' is mapped to deploy target the metadata store use"WebCenterFileMetadataStore"in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace ' / persdef' maps to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace ' / shared/oracle/wcps ' is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace ' / ' xliffBundles is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/research/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/framework/scope/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/page/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace ' / ' pageDefs is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/adf/portlet" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/adf/portletappscope" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/doclib/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/security/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/siteresources/shared" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
    * [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/quicklinks/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
    * [ora: ojdeploy] 30 April 2013 15:49:30 oracle.jdevimpl.deploy.ear.ApplicationAssembler logFileWritten *.
    * [ora: ojdeploy] INFO: Application Module Enterprise wrote to file:/C:/JDeveloper/mywork/buildTest/deploy/buildTest_webapp1.ear*
    * [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
    * [ora: ojdeploy] INFO: time for deployment: 1 minute, 23 seconds *.
    * [ora: ojdeploy] *.
    * [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
    * [ora: ojdeploy] INFO:-deployment is complete. ----*
    * [ora: ojdeploy] *.
    * [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
    * [ora: ojdeploy] INFO: time for deployment: 1 minute, 23 seconds *.
    * [ora: ojdeploy] *.
    * [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
    * [ora: ojdeploy] INFO:-deployment is complete. ----*
    * [ora: ojdeploy] *.
    * [ora: ojdeploy] summary status written to /C:/JDeveloper/mywork/buildTest/Portal/deploy/ojdeploy-statuslog.xml*

    * copy: *.

    * all: *.

    * SUCCESSFUL BUILD. *
    Total time: 12 minutes 1 second *.



    However when I check the deployments in the console, I don't see my deployed application.
    I see no error as well output.

    can anyone suggest where I'm wrong?

    Thank you.

    Happy that you do your research :-)

    Yep, wlst is the best option for a generation automated. Using wlst provides options to configure your MDS application. I should have one of my python deploy scripts somewhere. For this, I'm going to watch tonight.

  • Help with script Reporting vSwitch

    Hi, looking for a little help to report on the vSwitches.

    The script I've tried to write is shown below, but of course I messed up that it returns only the host names and my column headings.

    Any help really appreciated and pointers where I was wrong.

    Thank you

    Dan

    $vSwitchRep = @)
    $vmhosts = get-VMHost | Name sort
    ForEach ($vmhost to $vmhosts)
    {
    $vSwitchObj = "" | Select the host name, vSwitch, vmnic, TotalPorts, PortsAvailable, MTU
    $vSwitchObj.HostName = $vmhost. Name

    ForEach ($vswitch in $vmhost. VirtualSwitch)
    {
    $vSwitchObj.vSwitch = $vmhost. VirtualSwitch.Name
    $nic = «»
    ForEach ($vmnic in $vmhost. VirtualSwitch.nic)
    {
    $nic += $vmnic
    }
    $vSwitchObj.vmnic = $vmnic
    $vSwitchObj.TotalPorts = $vmhost. VirtualSwitch.NumPorts
    $vSwitchObj.PortsAvailable = $vmhost. VirtualSwitch.NumPortsAvailable
    $vSwitchObj.MTU = $vmhost. VirtualSwitch.Mtu
    $vSwitchRep += $vSwitchObj
    }
    }
    $vSwitchRep

    You're right, it was an error for the vmnic.

    Try this way

    $vSwitchRep = @()
    $vmhosts = Get-VMHost | Sort Nameforeach($vmhost in $vmhosts)
    {
        foreach($vswitch in (Get-VirtualSwitch -VMHost $vmhost))
        {
            $vSwitchObj = "" | Select HostName, vSwitch, vmnic, TotalPorts, PortsAvailable, MTU        $vSwitchObj.HostName = $vmhost.Name
            $vSwitchObj.vSwitch = $vswitch.Name
            $vSwitchObj.vmnic = [string]::Join(',',$vswitch.nic)
            $vSwitchObj.TotalPorts = $vswitch.NumPorts
            $vSwitchObj.PortsAvailable = $vswitch.NumPortsAvailable
            $vSwitchObj.MTU = $vswitch.Mtu
            $vSwitchRep += $vSwitchObj    }
    }
    $vSwitchRep
    

Maybe you are looking for

  • Firefox redirecting not when you use the script Window.Print

    Have a simple java script on a Web page to display the print dialog box before the redirection to another page. < a onclick = "javascript:window.print()" href ="Screen.php" > print, and continue < /a > " When the print dialog box will appear if you p

  • Missing "Go" field emails sent through Thunderbird 38 email address

    I had problems with emails sent through two addresses using different servers set up on Thunderbird do not arrive with their e-mail address of the sender. This happens only for the update for Thunderbird 38. I reinstalled 37 and hopefully, updated us

  • How to use Labview to control the motorized turntable?

    Hello I am new to Labview and do a project that requires the use of labview to control the motorized turntable (XYZ axes). I need to use the Labview programming and have no idea at all. Need help, thank you very much! Lei,

  • I can't uninstall itunes

    I have windows vista, I can not uninstall itunes it says that another program is installed and wait, but I can't find or see other programs being installed

  • Windows Movie Maker audio and video is jerky.

    IHAVE been doing a video with sound and because some of the clips are short, but equal in the time, when I play it back or try to save it... where the shorts are the audio part of the video is choppy. I wonder if there is a way to put something to ge