How to automatically create a script based on XML input

I was wondering if it is possible to automatically generate a script in Flash itself, so like a plug in or something that I can build that will allow me to take in an xml document and generate scripts on certain frames in certain movie clips
or is it better to create a swf where users load in an xml file and things just happen from that (would that be safe? could I guarentee that no one would be able to screw things up?)

Here are the steps to do for your requirement.
1) In design console, create a rule like user-type ="end user"
2) Create a role using the above rule and also create an access policy to provision these two resources using the above role.
2) In design console, go to resource object --> select resource2->dependency tab--> assign resource1.
3) Try to provision resource 1..it should provision resource 2 as well.

Similar Messages

  • How to automate creating installation script?

    SQLDeveloper has a nice tool which would create installation script for a database application: Deploying an Oracle Database Application However it is not automatic - you have to choose objects to export and tables to dump rows every time you create an export script. Is there a way to automate it or maybe another tool to create an installation script? I though of Introducing oraddlscript | devioblog but it doesn't seem to create a file invoking creating all other objects in the appropriate order. Oracle exp tools are also inappropriate because I need a seperate file for each object so that I could commit them to SVN and keep track of changes.

    DDL Wizard Seems fine, but it required Oracle export using exp. And exp cannot export tables with BINARY_DOUBLE columns or nested tables. And installing Oracle Database link is not about installing application.

  • How to automatically create hyperlink destinations based on numbered list?

    I am very new to InDesign and am creating a template for an academic journal. Each article contains a list of references at the end and the references are cited in the main text (like what you see in Wikipedia if you are not familiar with scientfic journal articles). In exported HTML, the citation in the main text should be hyperlinked to the coressponding reference in the reference list. I have two questions:
    1) It is possible to ask paragraphy style to assign each numbered item a hyperlink destination? If this is possible, I can then manually inserted hyperlinks in the main text.
    2) one step further, is there any way (e.g. script) which can then insert hyperlink to those destinations based on pattern match? For example, in main text, the citation to reference #1 appear in the text as [1] which should be hyperlinked to reference #1.
    One more question, is there anyone who knows how academic journals handle the flow from InDesign to html? Certainly, the exported html cannot go directly online without further editing.
    Thank you.

    Hi Eric,
    I posted the script here. But it should be adjusted to your particular document. (Anyone with basic scripting knowledge can do this). I am sure it won’t work as it is. I assume that “comments” and “references” are in two different stories.
    Can I have the scripts from you (for a fee or free)?
    I don't sell my scripts: they're free.
    Can the scripts handle the pattens like these [3], [1-5], [3,4], [6, 8, 11-13]?
    This script can't, but another handles both single page numbers and page ranges like so:
    I can post it as well.
    Now I’d like to make one thing clear:
    I made a set of scripts for creating hyperlinks in InDesign documents for further exporting them to ePub/HTML. I can’t make a script that would work for everyone because all books are very different. I simply adjusted scripts for every book I had to work with (mainly changing GREP expressions and names of styles) and I have numerous variations of scripts. I can post them if someone is interested but you should be aware that they have to be reworked.

  • How to automatically create the custom migration scripts after recreating SSMA project?

    How to automatically create the custom data migration scripts after recreating SSMA project?
    There is number of tables ( big tables with BLOBS)  which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
    So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ? 

    Hi Roman.Pokrovskij,
    According
    to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
    custom migration scripts, you can review refer to them.
    <?xml version="1.0" encoding="utf-8"?>
    <ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
    <config>
    <output-providers>
    <output-window suppress-messages="false"
    destination="stdout"/>
    <upgrade-project action="yes"/>
    <data-migration-connection source-use-last-used="true"
    target-server="target_1"/>
    <progress-reporting enable="false"
    report-messages="false"
    report-progress="off"/>
    <object-overwrite action="skip" />
    </output-providers>
    </config>
    <servers>
    <!-- Server definition for Sql server target server-->
    <sql-server name="target_1">
    <sql-server-authentication>
    <server value="$SQLServerName$"/>
    <database value="$SQLServerDb$"/>
    <user-id value="$SQLServerUsrID$"/>
    <password value="$SQLServerPassword$"/>
    <encrypt value="true"/>
    <trust-server-certificate value="true"/>
    </sql-server-authentication>
    </sql-server>
    </servers>
    <script-commands>
    <create-new-project project-folder="$project_folder$ "
    project-name="$project_name$"
    overwrite-if-exists="true"/>
    <connect-target-database server="target_1"/>
    <load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
    <!--Schema Mapping-->
    <map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
    <!-- Convert schema -->
    <!-- Example: Convert entire Schema (with all attributes)-->
    <convert-schema object-name="$AccessDatabase$"
    object-type="Databases"
    conversion-report-overwrite="true"
    verbose="true"
    report-errors="true" />
    <!-- Synchronize target -->
    <!-- Example: Synchronize target entire Database with all attributes-->
    <synchronize-target object-name="$SQLServerDb$.dbo"
    on-error="fail-script" />
    <!-- Data Migration-->
    <!--Example: Data Migration of all tables in the schema (with all attributes)-->
    <migrate-data object-name="$AccessDatabase$.Tables"
    object-type="category"
    report-errors="true"
    verbose="true"/>
    </script-commands>
    </ssma-script-file>
    There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
    article.
    http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to automatically create xml documents ?

    Hi,
    I have created an xml form with specific fields and properties. Now, I want to automatically create a large amount of xml documents based on it.
    Is there any means to do this ?
    Thanks,
    Loïc LEVEUGLE

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • How do I create a script to do this?

    I have a photoshop file with several layers...about 100. I want to put each layers into it's own group. The name of the group must be the same as the name of the layer.
    I tried creating a action to do this but it did not work right. It only works for one layer selected individually. If I select multiple layers, then it forms nested groups.
    I was told that I can't do this using an action and I would need a script for this.
    How do I create this script?
    I am using adobe photoshop cs6 ( I think) , windows 7.

    This assumes that none of the layer are already in layerSets( group ) and none have layer locking.
    if(app.documents.length>0){
        var doc = app.activeDocument;
        while(!doc.artLayers[0].isBackgroundLayer && doc.artLayers.length>0  ){
            var newSet = doc.layerSets.add();
            newSet.name = doc.artLayers[0].name;
            doc.artLayers[0].move(newSet,ElementPlacement.INSIDE);

  • How to automatically create a player schedule?

    I need your help how to automatically create a player schedule from a given list of players who will play doubles in a given period.
    Let's say, I have a list of 12 players who will each play doubles with random partners for 4 times.
    So play one could be: 1&2 vs 3&4, 5&6 vs 7&8, 9&10 vs 11&12.
    But now I want inumbers to plan the second, third and fourth play automatically but with unique combinations.
    In this example it's quite easy to do it manually, but I need to plan something similar for the tennisclub with many more players.
    It should be able to set up a worksheet where you will fill out the following parameters:
    List of players, number of available courts, whether you want ot let them play single or double games, number of plays.
    The last one could also be left empty so discover how many unique plays you have given the other parameters.
    I hope someone is able to help me, because this would save me a lot of time to make the planning for the tennisclub.
    Thanks in advance for any support!

    OK.  I think this may work for you:
    There are two parts:
    1) a small program you have to run (this is the part you may find difficult at first)
    2) a Numbers spreadsheet
    1) the program is invoked on the command line in the terminal.  You can open the Terminal by navigating to the folder "/Applications/Utilities"
    you need to download the zip file here, then copy and unzip  in the same folder where you plan to store the Numbers document for making the tennis schedule.
    Let's agree for this procedure that you are storing the program and Numbers file in the folder "/Users/<your user name>/Documents/TennisSchedule".
    Once you launch the terminal you can navigate to the folder where you stored the zip file by typing:
    cd ~/Documents/TennisSchedule
    now you can invoke the program by typing:
    ./TennisRandomList
    Then hit the return key.  Without any arguments the program simply emits some program information with a little help on how to use it-- described in the text starting with "USAGE" (see below)
    Proton:TennisRandomList wayne$ ./TennisRandomList
    Tennis Randomw List maker
    Version 0.1
    compiled on Nov 18 2012 @ 09:14:41
    USAGE: TennisRandomList numPlayers numCourts numWeeks type verbosity
      numPlayers: 1 - 255
      numCourts: 1 - 255
      numWeeks: 1 - 255
      type: [s]ingle or [d]ouble
      verbosity: 0 - 5
      0 -> player ids only
      1 -> player ids + inputs
      2 -> player ids + inputs + raw random values
      3 -> player ids + inputs + raw random values + pairings
      4 -> player ids + inputs + raw random values + pairings
      5 -> player ids + inputs + raw random values + pairings
    Proton:TennisRandomList wayne$
    so to make a schedule for:
    -12 players
      - 3 courts
    - 6 weeks
    - singles
    you would invoke as:
    ./TennisRandomList 12 3 6 s
    Then type return.
    you should get something like:
    Proton:TennisRandomList wayne$ ./TennisRandomList 12 3 6 s
    Weeks: 6
    Players: 12
    Courts: 3
    Type: singles
              Game
    Week          Slot          Court 1          Court 2          Court 3
    1          1          3          2          4          6          5          8
    1          2          9          11          10          12          1          7
    2          1          12          2          7          10          11          1
    2          2          3          5          8          4          9          6
    3          1          6          11          2          1          7          3
    3          2          4          8          5          10          9          12
    4          1          4          8          11          3          5          7
    4          2          10          12          1          6          9          2
    5          1          8          4          3          12          9          5
    5          2          6          10          7          11          1          2
    6          1          5          7          1          12          3          10
    6          2          6          8          2          4          9          11
    Proton:TennisRandomList wayne$
    You can select, then copy the text following the line "Week Slot Court 1 Court 2 Court 3" upto, but not including, "Proton:TennisRandomList wayne$ "-- bolded in the above quotation
    You can paste that into the Numbers document we will now make.
    2) a Numbers spreadsheet
    The Numbers document includes several tables as shown below:

  • How do I create a group of channels for input to a AI multi point

    Hi,
        How do I create a group of channels for input to a AI multi point, so that I can output it to 3 different graphs.I figured out the graphs but I am not able to figure out how to create the group of channels for the input.I saw many examples where a group of channels is given as an input.

    hello
    You have to put Daq Mx Create virtual channel.vi in a For loop. out side that u should give an array of virtual channel which ever you need to acquire. i am sending the vi in 7.0 too.
    Attachments:
    read_channel.vi ‏40 KB

  • How to automatically create fillable PDFs from XML

    We are looking for a way to create fillable PDFs that users can enter data into and save (so the PDF needs Reader Rights applied) and we want to be able to automatically create these PDFs from XML files. We are able to do what we want in a manual fashion using Acrobat Pro v8 but we need a way to automate this due to the volume of XML files that we will need to convert.
    Is there any way that this can be scripted from a command line interface with Acrobat.. like:
    Acrobat.exe –input FileName.xml –output FileName.pdf –applyReaderRights true
    If there is no command line options for this is there any way that this could be coded using .NET or any other programming language?

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • APEX  How do I create a Form based on a Database Table from other schema

    My APEX schema is WISEXP. I have a database table that resides in WISDW schema on the same database. I want to create Tabular form based on this table.
    I am not able to create a FORM based on the table from WISDW schema. I am able to create a FORM based on SQL though from this table in WISDW schema - but it does not do any action on Update/Insert rows.
    Appropriate Synonyms and grants are created. Is there a limitation or am I missing something? Please advise.
    thanks
    Rupen

    If Rupen is using 2.2 or 2.2.1, it is likely he is running into the bug described here: Re: Workspace to Schema Assignments
    In that case, it may be a necessary and sufficient workaround to assign the foreign schema to the workspace.
    Scott
    Message was edited by:
    sspadafo

  • Create controls dynamically based on XML file

    Hi All,
    I am very new to Flex environment. I am trying to integrate FLEX with ASP.net for better UI interfacing.
    May I know if is it possible to draw fields (Text boxes, option buttons, etc) on the Flex dynamically using a XML file at runtime.
    What my expectation is, if I have an XML file with the filed names and type, can the Flex draw them on the front end UI?
    Please  let me know your thoughts.
    Naveen

    Is there possible to have an portlet that can be enlarged?Yes. You can maximise a portlet
    And is there possible if I have a .php file, and then I want to create a portlet based on that .php fileNot directly.
    If you are going to run the PHP file in its own machine then you could use a browser or clipper portlet. If you want to run the PHP file on the JVM itself, I believe there are some commercial products that let you do this (then its equivalent to a JavaServlet). This could then be included by any dummy JSP and you could use a plain jsp portlet . however you wqould have to be careful how you generate links within the PHP file (because you'd have to mimic the way BEA tags behave) .
    never tried this and if you have few PHP pages then you could probably rewrite to java.

  • How to find out the encoding of an XML input document

    Hello all,
    I read a XML file into a DOM document and would like to save it back in the same encoding as the input. How do I find out the encoding of the input document?
    This is my code for reading the document:
    import java.io.File;
    import java.io.FileInputStream;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMResult;
    import javax.xml.transform.stream.StreamSource;
    import org.w3c.dom.Document;
    Transformer transformer = TransformerFactory.newInstance().newTransformer();
    DOMResult domResult = new DOMResult();
    transformer.transform(new StreamSource(new FileInputStream(fileName)),
                          domResult);
    Document doc = (Document)domResult.getNode();
    .

    FileInputStream fis = new FileInputStream(fileName);
    String encoding = new InputSource(fis).getEncoding();
    fis.close();Note that this only works because you can get an InputStream over the document twice. If the document were coming from an HTTP response (for example) it wouldn't work.

  • Automatically create scheduling lines based on quantity and number of containers

    Dear Gurus
    Our business requires that when creating a sales order automatic scheduling lines should be created based on the quantity and number of containers.
    i searched  and found of using VOV6 but i am a bit confused on how to set up this calculation logic.
    Thanks and Regards

    Dear Arun kumar
    Our business requires that when creating a sales order automatic scheduling lines should be created based on the quantity and number of containers.
    Generally shedulines  are confirmed Based On qty only ...Or Number of containers
    Check OVLZ   Maintain Days
    MMR--Maintain RLT  MRP 3 VIEW Or goods pressing time MRP2 VIEW
    VOV8--Lead time in days
    VOV6--Activate availability check, Req check box
    OVZ9--Remove RLT Check box
    SCAL--Factory Calendar also impact please check 
    If customer Is maintain complete delivery ..Make it Complete check box in XD01 But while creating Sales order if he agrees Partial delivery also according to company activate check box  Fixed qnty/date in Schedul lines
    And make it availability check in sales order level not in delivery level
    Let me know your requirement is some thing different

  • How to automatically create a table on the next page?

    I was working on my Resume using tables on Pages 13.  When the first page is nearing to be filled in, I continue to put more details as I expected the table to be created automatically in the next page, like that of Microsoft Word but it did not happen.  What happened was the table continue to elongate only on the first page eventhough the last part cannot be seen anymore.  Please advise me how to do this, if possible.  Thanks.

    You need to make the Table Inline ie part of the text.
    Select the Table by clicking on the large dot top left > Cut > Click in the Text > Paste
    It will now flow from page to page, but there is a bug in Pages 5.2, which means text may not show in the table after a few pages.
    The table will also break at cell boundaries, it will not divide a cell over 2 pages.
    Peter

  • How to automate creating movie poster frames?

    Hello.
    I have a fairly large movie library in itunes now, about 500 movies. I know how to right click a frame of a movie and set a poster frame. However this seems very slow and doesn't always work perfectly. Does anyone have any ideas or scripts that would automate the process? Even if it just sets the poster frame at 2 minutes into every movie it would be better than the 1st frame, Thanks for any ideas.

    I have not had my question answered yet. I am guessing its not possible. However the problem you mentioned is not an issue for me. I can pause a video, right click on it, and the bottom choice is to set a poster frame.
    What I want is to have something automate the process of picking a different point as the poster frame without having to select it on each and every video. I have 500 videos and this could take way too long. I would imagine there is an easier way to set all videos to use the 30 second mark as the poster frame.

Maybe you are looking for

  • Authorization Restriction Issue in BI

    Hi, Problem in Authorization, unable to execute the sales report in BEX giving message as "You do not have authorization for access with activity on the InfoProvider " I have given the object  S_RS_COMP   Activity                       *   InfoArea  

  • Messages in 10g

    I've searched through the forum and can't find information for what I believe is a general problem that I'm having with Forms 10g (10.1.2). None of the "normal" Forms messages are appearing. If I open a form, enter values in a field or two then refre

  • Integration of Delivery header and item into a single ods

    Hi Nagesh, The reason why i have started a new thread is to award you some more points as i cannot assing you any more points in the prvious thread. I ahve a question though....... you want me to add hdr data to sales document number right.... bue my

  • Viwing XML source from Diagnostics windows in Oracle Apps- issue

    Hi, After the Request was finnished I press Diagnostics button and then View XML in order to see the data. But this is what I've got: <?xml version="1.0" encoding="UTF-8" ?> - <DATA> - <LIST_ROW> - <ROW> <ACCOUNT_NUMBER>BBE00001</ACCOUNT_NUMBER> <CUS

  • How do I add color flash in lightroom 5?

    When I am in Black and white picture and want to add color in particular part of my photo. How would I color flash my photo?