Is "bpelc" script available in BPEL 11g?

Dear all,
Is "bpelc" script available in BPEL 11g, which could be used to deploy BPEL process manually in 10g?
If not, does BPEL 11g support other deployment ways instead of using JDeveloper?
Thanks a lot.

Have resolved.
It seems bpelc is not available in BPEL 11g. It must use either JDeveloper, EM, WLST, Ant 4 ways to do the deployment.
Edited by: TF on Sep 15, 2009 5:56 AM

Similar Messages

  • How to enable logging in oracle bpel 11g

    Hi,
    My requirement is see log files in bpel which shows complete transaction which I generally view from em console opening a instance everytime.
    You can take an example of OSB 11g where we have a log action and we can log any request by giving variables like $body, header etc.
    Everytime going to em console and opening instance is quite hectic . So my question is as under :
    1. Is any kind of log activity available in bpel 11g by which I can log my messages going through ?
    Thanks & Regards,
    Neeraj Agrawal

    You could use Sensors to log certain information. See Swim The Fusion: Sensors in SOA 11g for Details.

  • [HELP] [BPEL 11g] Customized BPEL worklist app could not work on JBoss

    Dear all,
    We are developing the customized Human Worklist app based on BPEL HW API 11g.
    The application (some jsp pages) works fine in JDeveloper 11g. However, after deploy to JBoss, it always prompt with "NoClassDefFoundError" exception, although we have already add following 7 jar files into Classpath:
    ${jdeveloper.home}\Middleware\wlserver_10.3\server\lib\weblogic.jar
    ${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.jrf_11.1.1\jrf.jar
    ${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.webservices_11.1.1\wsclient.jar
    ${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.fabric_11.1.1/bpm-infra.jar
    ${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar
    xml.jar
    xmlparserv2.jar
    Then we manually copy many other jars (nearly 100) under Weblogic server, but it still prompt lacking of some jar file with "NoClassDefFoundError" exception.
    So, does BPEL 11g support deploy HW app outside weblogic, like JBoss? If so, what we need to set at JBoss side to run our app?
    Thanks a lot.

    Not sure it is available yet as I have not seen any doc for 11g.
    here is the 10g instructions which may provide some pointers.
    http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b25947/deployment_topics012.htm
    cheers
    James

  • Invoke ODI Scenario (11g) in BPEL (11g)

    Hello -
    I'm developing a BPEL process to load data from SQL Server to Oracle database using ODI . And after that I'm doing more orchestration in the BPEL process. I'm using
    1) Oracle Data Integrator 11g (11.1.1.3)
    2) Oracle SOA Suite 11g (Web Logic Server)
    Have created a scenario in ODI 11.1.1.3 to read data from SQL Server and load into Oracle Database. I would like call this ODI scenario in BPEL 11g as a FIRST Activity.
    Please help me the STEPS I need to
    1) To expose the ODI scenario as a web service?
    2) And to invoke ODI scenario in BPEL
    3) Do I need configure/install public web services or anyother checks I need to do on ODI_server domain(WLS) to ensure it has all the components it need ?
    Detailed steps are greatly appreciated
    Thanks
    Babu

    I hope you have found your answer but if not here are some pointers when working in the 11g ODI version. As far as I understand all generated scenarios will be exposed as a web service. ODI provides a small set of service methods available via the agent to invoke those services:
    invokeStartScen
    invokeRestartScen
    getSessionStatus
    getVersion
    To get the WSDL for ODI, simply point your browser or partner descriptor to a running ODI agent: http://agentHost:port/oraclediagent/OdiInvoke?wsdl
    For me running on my local host I can access both the Stand Alone or JEE agents on thier running ports:
    Stand Alone running on 8886: http://localhost:8886/oraclediagent/OdiInvoke?wsdl
    JEE running on 19001 deployed to WLS: http://localhost:19001/oraclediagent/OdiInvoke?wsdl
    As you can see there is no difference between the two agents and they both return with the same list of operations:
    <wsdl:binding name="InvokeRequestSOAP11Binding" type="odi:requestPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    *<wsdl:operation name="invokeStartScen">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/invokeStartScen" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="getSessionStatus">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/getSessionStatus" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="getVersion">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/getVersion" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    *<wsdl:operation name="invokeRestartSess">*
    <soap:operation soapAction="xmlns.oracle.com/odi/OdiInvoke/invokeRestartSess" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    Once you have this then you can invoke the different methods from what ever tool you are using and here are some samples:
    Getting the Version -- No Parameters are Required
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <soapenv:Header/>
    <soapenv:Body>
    <odi:getWebServiceVersionRequest/>
    </soapenv:Body>
    </soapenv:Envelope>
    Invoking a Scenario -- Scenario: LD_ODI_CERTS Scenario Version: 5 Context: GLOBAL
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
    <soapenv:Header/>
    <soapenv:Body>
    <odi:OdiStartScenRequest>
    <!--You may enter the following 2 items in any order-->
    <Credentials>
    <!--You may enter the following 3 items in any order-->
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>SUPERVISOR</OdiPassword>
    <WorkRepository>workrep</WorkRepository>
    </Credentials>
    <Request>
    *<ScenarioName>LD_ODI_CERTS</ScenarioName>*
    *<ScenarioVersion>005</ScenarioVersion>*
    *<Context>GLOBAL</Context>*
    <Synchronous>true</Synchronous>
    <SessionName>LD_ODI_CERTS</SessionName>
    <Keywords>WebService</Keywords>
    <LogLevel>5</LogLevel>
    </Request>
    </odi:OdiStartScenRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    This is covered in section 14 of the Developers Guide for ODI ([Working with Web Services in Oracle Data Integrator|http://fmwdocs.us.oracle.com/doclibs/fmw/E14571_01/integrate.1111/e12643/web_services.htm#CJAJEBEJ]) and further expanded in section 19.7 ([Running Integration Processes|http://fmwdocs.us.oracle.com/doclibs/fmw/E14571_01/integrate.1111/e12643/running_executions.htm#BABDHJJF]).
    If you need additional asistance with the creation of the scenario, well that is another question ;)
    Edited by: Sydney on Oct 20, 2010 11:45 AM

  • BPEL 11g Email Notification - Multiple SMTPs

    Hi All
    We have a requirement to send emails through alternative SMTPs based on content via BPEL. In 10g BPEL, we could do that based FromAccount configuration in nl_emails.xml. What is the equivalent steps for creating different FromAccount configuration in 11g BPEL?
    Thank you for your support.
    Regards
    Prasad Jayakumar

    Hi All
    There is something missing in 11g what was available in 10g
    In 10g, we were able to refer the following entire configuration details through FromAccount of BPEL Email Activity
    nl_emails.xml
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>yourdomain.com</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    Now In 11g, We are able to set only EmailFromAddress, EmailReplyToAddress & EmailRespondToAddress which is more about GeneralSettings and not different OutgoingServerSettings
    My initial request "BPEL 11g Email Notification - Multiple SMTPs" is not yet resolved. Please provide any further inputs. Thank you.
    Regards
    Prasad Jayakumar

  • How delimited by header and footer from Source file in BPEL 11g

    Hi Friends,
    I have source data below like This..
    SOFTWARE COMPONENTS:
    BPEL 11G,
    J DEVELOPER(11.1.1.3)
    FILE READ ADAPTER
    WEB LOGIC EM SERVER(10.3.3.0)
    1|10005|857896|BR |0000 |6544|kantro|54635
    1|10265|69875|.36544|2456112|00000|000000|00000|SE|5456|466554|789745|54.325|KVM|56476.32
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45669
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45664
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55776|4454544|45660
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|85668
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|85876|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|55566|4454544|69848
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|69566|4454544|45666
    1|10235|JA|5456|4565|56|656|5855|5555|55445|5444|D|45457|0000|KIL|6555|78966|4454544|85669
    1|10255|km|5653|RJ |00000|5557544|13-08-1998
    But i need to Delimited and insert the data into table ..Here Header data insert into saperate table and
    middlle of the data insert into main table and footer data insert in another table it all happen one attempt by using file read Adapter(11.1.1.1.3)

    You have a header parameter in the file datastore. You can provide any number to skip rows from top of the file. For footer you can create a filter in staging area.
    Filter coould be something like this.
    where source_alias.source_column not like '%FOOTER_OR_ANY_VALUE_AS_PER_YOUR_REQ'

  • Roll back in Adapter DataBase using Polling | BPEL 11g

    Hello Guys,
    I'm having a problem with roll back for polling "Update a field in Table(Logical Delete)" in DataBase Adapter BPEL 11g.
    My process is:
    Does polling in the table from the database changed the value in column from 0 for 1 and then put the message on a JMS queue.
    The problem is:
    When an exception occurs in the process, for example, exception when posting message in the queue, he does not roll back the database, then the value in the table column is changed to 1 and not 0 as it should.
    Adapter Data Base:
    Oracle XA
    Properties BPEL(Composite):
    <binding.jca config="XXXX_db.jca">
        <property name="singleton">true</property>
    </binding.jca>
    <component name="XXXXX" version="2.0">
        <implementation.bpel src="XXXXX.bpel"/>
        <property name="bpel.config.transaction" type="xs:string" many="false">required</property>
        <property name="bpel.config.oneWayDeliveryPolicy">sync</property>
    </component>
    Properties JCA of Data Base:
    <property name="DescriptorName" value="XXXXXXXXX"/>
          <property name="QueryName" value="XXXXXXSelect"/>
          <property name="MappingsMetaDataURL" value="XXXXXX-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="STATUS"/>
          <property name="MarkReadValue" value="1"/>
          <property name="MarkReservedValue" value="2${weblogic.Name}-${IP}"/>
          <property name="MarkUnreadValue" value="0"/>
          <property name="PollingInterval" value="5"/>
          <property name="MaxRaiseSize" value="1"/>
          <property name="MaxTransactionSize" value="10"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
    Its roll back?
    Could anyone please help me on this.
    Tks,
    Azevedo, Artur.

    You need to ensure that your process is working in a single transaction.
    You are correctly using the XA datasource.
    Next you need to ensure that you do not have a dehydration point in the process and if there is a call to another BPEL process they are in a same transaction.

  • Polling from the database view in BPEL 11g

    Hi,
    We do have a requirement of polling from the database view in BPEL 11g. I am exploring the following polling strategies in our case:
    - Delete
    - Logical Delete
    In case of Delete polling strategy, can we delete the record as the view does not allow deletion. In this case, do we have any other way to achieve this functionality?
    In case of Logical Delete, We have to mark the status column with particular value. how could we achieve the same when the view is not updateable.
    In 10g, we can override the delete polling strategy with an update statement. Is it possible in 11g?
    Thanks & Regards
    Siva

    Hi,
    I am also doing the same thing what you have done, please help me.
    I have used BPEL export utility for exporting my JPDs to BPEL. but it was not a good help, ultimately i m creating a process manually.
    the main problem what is the replacement of control(jcx files)
    please guide me really it would be great help..
    Thanks in advance and hope to hear from you.
    my mail id is [email protected]
    please send some document if you have...

  • [Urget Help] [BPEL 11g] How to use Database 11g as Identity Service source?

    Dear all,
    My customer is using BPEL 11g for current project. They have a legacy user database (Oracle DB 11g) which store all accounts info.
    Now we want to connect BPEL with this database as identity service and pick up the users and groups as approver. I saw following graph from below link, but I don't know how to implement it. It seems a huge change in BPEL 11g.
    Can you give me an idea on it? Any suggestions are welcome.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm#BABEIHDD
    Thanks in advance.

    repost

  • New line character  is not working in BPEL 11g

    I am trying to use new line character &#13; in string concat operation in BPEL 11g, but it is not giving new line in output. Any idea why?

    We can achive this by embedding html tag break '&lt br &gt', something like below.
    string('Please click on the URL below to login and open your invoice Worklist.&lt br &gt
    &lt br &gt
    &lta href="http://localhost:8001/integration/worklistapp"> Invoice Worklist &lt/a&lt &lt br &lt
    &lt br &gt
    Edited by: RaviOrnext on Aug 16, 2012 4:24 AM

  • How to call the WS in BPEL 11g

    Hi,
    I have a WS externally provided, which need the following soap header...
    <soap:Header><fmw-context xmlns="http://xmlns.oracle.com/fmw/context/1.0"/><wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>MASKED</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MASKED</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security></soap:Header>
    Please let me know how do i call the WS in BPEL 11g.
    Please let me know the entire solution, kind of urgent...
    Thanks,
    Rosh

    Hi All,
    got the solution.
    Its working...
    http://soa-howto.blogspot.com/2008/09/how-to-set-security-credentials.html
    Thanks,
    Rosh

  • Email Failure Tracking in BPEL 11g

    Hi All,
    I am working on BPEL 11g where i am sending a email to some address.and its all working fine.Now my problem is i am unable to track the failure of emails when i send the email to wrong email id.
    My requirement is whenever i send an email to a wrong email id the email must bounce back to the same sender with the same subject line.I am unable to find any help so plz help me out if any one has faced or worked on this issue.Its very urgent requirement.
    I am using
    email client as----->Thunderbird
    email server as---->James 2.2.3
    SOA suite 11g
    JDev 11.1.1.5.0

    Hi:
    I just made a quick test, and there is not reply to the sender, if the receiver mailbox was wrong.
    The only way to know if there was an error, is at the log file, or at the EM level, monitoring the Emails Server/Driver.
    I know that those are not options for u, but at least I am not seeing any way to capture that error.
    best
    rolando

  • How to Use Oracle Coherence in BPEL 11g

    i have a scenario to cache the results some where, so that i can make use of the same for the same request.
    I hope this can be done using Oracle Coherence. Could you please let me know how can i use this coherence for cacheing in BPEL 11g (in my bpel process)
    thanks for the help in advance.

    Hi.
    U can use the Coherence API within a Spring bean.
    Take a look at this https://blogs.oracle.com/jaylee/entry/accessing_coherence_cluster_using_spring
    That's one way to do it.
    best

  • Is there a script available for arranging elements for optimal use of the printable area?

    I'm starting a sticker printing business using Illustrator as my main layout and illustration too. I was wondering if there's a script available for automatically arranging a set of elements on a page so that they optimally take up the available space. I figured this would save me some on material costs.
    If I were to create a script from scratch, can someone give me pointers? I'm a casual AI user but I have Javascript experience.
    Thanks.

    The below image shows the 4 different die sizes, the artwork fits inside the dotted box so make sure that we have room around the die and the drill holes are assigned as well.
    The name of each die is listed above it, and the size is listed below it.
    The script is set to take each die and place it on the template until it is full, then it will save it and move it to the folder where it will be grabbed and preped for printing.
    Everything below the **** is the script.
    #target illustrator   
        var tempDoc = app.activeDocument;
        copy();
        if (tempDoc.selection.length > 0)
            var myFile = File("S:/TEMPLATES/IN USE/DB_TEMPLATE.ai");
            app.open(myFile);
            var thisDoc = app.activeDocument;
                thisDoc.views[0].centerPoint = [324,503];
                thisDoc.views[0].zoom = .65;
            var allGroups;
            var horizontalCords = [0,180,360,540,0,180,360,540,0,180,360,540,0,180,360,540,0,180,360,540,0];
            var verticalCords = [1012.5,1012.5,1012.5,1012.5,810,810,810,810,607.5,607.5,607.5,607.5,405,405,405,405,202. 5,202.5,202.5,202.5,202.5];
            var oneGroups = new Array();
            var twoGroups = new Array();
            var oneAGroups = new Array();
            var twoAGroups = new Array();
            var makeNew1 = new Array();
            var makeNew2 = new Array();
            var twoACounter = 0;
            var layerRemainder = [4,4,4,4];
            var totalDies = 0;
            var noGo = 0;
            var caseTest;
        if (thisDoc.pageItems.length == 0)
            drawTemplate();
        var newLayer = thisDoc.layers.add();
        newLayer.name = "Die Layer";
        paste();
    allGroups = thisDoc.groupItems;
        for (i=0;i<allGroups.length;i++){// determine what dies are present
            if (allGroups[i].name == "1"){
                oneGroups.push(allGroups[i]);
            else
        if (allGroups[i].name == "1A"){
                oneAGroups.push(allGroups[i]);
        if (allGroups[i].name == "2") {
            twoGroups.push(allGroups[i]);
        else
        if (allGroups[i].name == "2A"){
            twoAGroups.push(allGroups[i]);
        }// end FOR
    if (oneAGroups.length == 1)
        oneAGroups[0].position = [540,101.5];   
    if (twoAGroups.length == 1)
        twoAGroups[0].position = [360.25,101.25];
    if (oneAGroups.length == 1 && twoAGroups.length == 1)
        oneAGroups[0].position = [360,203.5];   
        if(oneAGroups.length == 2){
        var add1Group = thisDoc.groupItems.add();
            add1Group.name = "1";
            oneAGroups[0].name = "1A changed";
            oneAGroups[1].name = "1A changed";
            oneAGroups[0].position = [0,0];
            oneAGroups[1].position = [0,-100.75];
            oneAGroups[0].moveToBeginning(add1Group);
            oneAGroups[1].moveToBeginning(add1Group);       
            oneGroups.push(add1Group);
            oneAGroups.length = 0;
            redraw();
        if(twoAGroups.length == 2){
        var add2Group = thisDoc.groupItems.add();
            add2Group.name = "2";
            twoAGroups[0].name = "2A changed";
            twoAGroups[1].name = "2A changed";
            twoAGroups[0].position = [0,0];
            twoAGroups[1].position = [0,-100.75];
            twoAGroups[0].moveToBeginning(add2Group);
            twoAGroups[1].moveToBeginning(add2Group);
            twoGroups.push(add2Group);
            twoAGroups.length = 0;
            redraw();
        if (twoGroups.length > 0){
                var h = 0;
                var v = 0;
                var dieCount = 0;
                for (i = 0; i < twoGroups.length; i++) {
                    twoGroups[i].position = [horizontalCords[h],verticalCords[v]];
                    h = h + 2;
                    v = v + 2;
                    dieCount++
                    }//end FOR
            }// end twoGroups length IF
            if (oneGroups.length > 0){
            var h = 0+(twoGroups.length*2);
            var v = 0 + (twoGroups.length*2);
             for (i = 0; i < oneGroups.length; i++){
               oneGroups[i].position = [horizontalCords[h],verticalCords[v]];
                  h = h +1;
                    v = v + 1;
                 }//  end FOR
             }//  end onGroups IF
              redraw();//  redraws template so it updates changes on the page
           //thisDoc.close(SaveOptions.SAVECHANGES);
            }//  end noGo
    else
    alert("You have nothing selected...");
        totalDies = (oneGroups.length + (twoGroups.length*2) + (twoAGroups.length/2) + (oneAGroups.length/2));
    if (totalDies < 20)
        caseTest = 0
        else if (totalDies > 20)
        caseTest = 1
        else if (totalDies == 20)
        caseTest = 2;
    switch (caseTest)
            case 0:
                thisDoc.close(SaveOptions.SAVECHANGES);
                break;
            case 1:
                alert ("Die will not fit on the Template at this time.  Try again later.");
                thisDoc.close(SaveOptions.DONOTSAVECHANGES);
                break;
            case 2:
                    var answer = confirm ("The Template is full.  Do you want to clear it?");
                        if (answer == true)
                            printTheTemplate();
                            break;
    function drawTemplate(){  //draws the template if the page is empty
            var tempDoc = app.activeDocument;
        tempDoc.rulerOrigin = [0,0];
        tempDoc.pageOrigin = [0,0];
        var newLayer = tempDoc.layers.add();
        newLayer.name = "Template Layer";
        var templateGroup = tempDoc.groupItems.add();
        templateGroup.name = "Template Build";
        var vertLoc = .25;
        var horzLoc = -.25;
        var topTemp = new Array();
        var botTemp = new Array();
        var leftTemp = new Array();
        var rightTemp = new Array();
        for (i=0;i<5;i++){
            botTemp[i] = thisDoc.pathItems.rectangle(0,vertLoc,.5,21);
            topTemp[i] = thisDoc.pathItems.rectangle(1033,vertLoc,.5,21);
             botTemp[i].moveToBeginning(templateGroup);
             topTemp[i].moveToBeginning(templateGroup);
            vertLoc = vertLoc + 180;
        for (j=0; j<6;j++){
            leftTemp[j] = thisDoc.pathItems.rectangle(horzLoc,-21,21,.5);
            rightTemp[j] = thisDoc.pathItems.rectangle(horzLoc,720,21,.5);
             leftTemp[j].moveToBeginning(templateGroup);
             rightTemp[j].moveToBeginning(templateGroup);
            horzLoc = horzLoc +202.5;
    return
    }//  end function drawTemplate
    function printTheTemplate()
              // October 16, 2012  Henry J. Klementovich
            //var TemplatePath = File("C:/Users/henryk/Desktop/Illustrator Test Files/HS_TEMPLATE.ai");
            //open(TemplatePath)
            //open(myFile);
            var thisDoc = app.activeDocument;
                thisDoc.rulerOrigin = [0,0];
                thisDoc.pageOrigin = [0,0]; 
            var thePath = ("S:/TEMPLATES/PRINTED");
            //  Will only continue if the artist has selected the art.  This step saved a lengthy FOR loop that would have had to select each page or path item of the
            //  document.  Some of the templates had over 5,000 items, resulting in an un-exceptable wait-time for the loop to select them.
            for (x=0;x<thisDoc.groupItems.length;x++)
                thisDoc.groupItems[x].selected = true;
            if (thisDoc.selection.length > 0)
            //  This section pulls the date from the system for two purposes:  the date shown on the template and the date used to save the file to the ArtShare.
            //  They are different b/c system filenames cannot include the  ":" char, which is used on the template for the time object.
            var  theDate = new Date();
                    var day = theDate.getDate();
                    var month = theDate.getMonth() + 1;
                    var year = theDate.getFullYear();
                    var hours = theDate.getHours();
                    var min = theDate.getMinutes();
                        if (min < 10)
                            min = ("0" + min);
                    var morn;
                        if (hours >= 12)
                                hours = hours - 12;
                                morn = " PM";
                        else
                            morn = " AM"
            var saveDate = (month + "-" + day + "-" + year + "    " + hours + min + morn );
            var tempDate = thisDoc.textFrames.add();
                    tempDate.name = theDate;
                    tempDate.contents = (month+ "/" + day + "/ " + year + "    " + hours + ":" + min );
                    tempDate.top = 1026;
                    tempDate.left =40;
                    tempDate.filled = true;
            var actGroups = thisDoc.selection;
            var artGroup = thisDoc.groupItems.add();
                  artGroup.name = "Art Group";
            for (i=0;i<actGroups.length;i++)
                  actGroups[i].moveToEnd(artGroup);
            tempDate.moveToEnd(artGroup);
            artGroup.selected = true;
            copy();
            thisDoc.pageItems.removeAll();//  copies everything from the current template into the clipboard, clears the template, saves it and closes it.
            var layLen = app.activeDocument.layers.length;
            //alert(layLen);
            for (i=0;i<layLen;i++)
            app.activeDocument.layers[0].remove();
            thisDoc.close(SaveOptions.SAVECHANGES);
            app.documents.add();//  adds new document for the template to be saved in the Printed folder.
            paste();
            var thisDoc = app.activeDocument;  
            var saveName = new File (thePath + "/" + saveDate);
                  saveOpts = new IllustratorSaveOptions();
                  saveOpts.compatibility = Compatibility.ILLUSTRATOR13;
                  saveOpts.generateThumbnails = true;
                  saveOpts.preserveEditability = true;
                  thisDoc.saveAs( saveName, saveOpts );
            var actGroups = thisDoc.selection;
            copy();
            thisDoc.close(SaveOptions.SAVECHANGES);
            $.sleep(10);
            app.documents.add();
            paste();
            var nexDoc = app.activeDocument; 
            var actGroups = nexDoc.selection;
            var artGroup =nexDoc.groupItems.add();
                  artGroup.name = "Art Group";
            for (i=0;i<actGroups.length;i++)
                    actGroups[i].moveToEnd(artGroup);
                    //artGroup.selected = true;
                    artGroup.resize(70,70);
                    alert("The current template has been saved to the Printed Templates folder.  This page is to be printed and sent to editing.")
    Hope this helps someone get one created because if they can make one that doesn't depend on the premade dies that would help me out quite a bit because some of the dies that we make are an odd size so we have to place them manually.

  • Is there a script available for 'live' endnotes in Indesign 5.5?

    I want to export books to epub with live endnotes (1,2,3,4,) displayed chapter by chapter at the end of the ebook. There are usually around 10 chapters and 700 notes. How can this be done? I have ongoing books to do like this, so I need an automated solution, is there a script available to do this?. Until now (for non epub books) I have been importing text from word, stripping the notes, and organising ‘dead’ notes, at the end of the book. What is the best way to import word files and keep dynamic links alive in the epub?  Thanks a lot for your help.

    InDesign doesn't support any endnote scheme at all, so all you could do is create hyperlinks to and from the note.
    The same answer for your index query, actually, although there you are going to run into another problem: there is no way the page numbers in the index are going to "update" live as the user resizes his screen, toggles the font, changes the font size etc.

Maybe you are looking for

  • View in illustrator CS3

    hi, when you use adobe indesign, it gives you the option of viewing a file in normal, preview, or bleed views. i'm wondering if illustrator has this same feature? i recently set up an illustrator file for a banner. i set it up for 24 inches x 36 inch

  • Changing LEAD info using BAPI_LEAD_CHANGEMULTI

    I have tried to change the status and product info. using BAPI_LEAD_CHANGEMULTI. I am able to change status and volume unit, but not the quantity of product. How can I change the quantity of the product ?????? how do I add more than one product ??? r

  • Tree creation algorithm needed. Experts pls help

    hi, I'm writing a program that read data from database to create a Tree. The database table: DATA          PREDATA          POSTDATA 1 4 5 2 6 7 3 1 2 4 8 9 If the DATA has a PREDATA, it will be inserted into the left node otherwise null and POSTDATA

  • Canon 5D3 + Canon 15mm f/2.8 Fisheye in AI-Servo restricted to 3fps

    Hi everyone,  when using the Canon 15mm f/2.8 Fisheye on the Canon 5D Mark III in Autofocus and AI-Servo, the camera seems to deliberately slow down its maximum frame rate to 3fps instead of its potential 6fps. I have tested numerous lenses incl. the

  • Cannot save PPro CS4 project created on another PC

    Another editor told me to delete the pref files but I'm double checking first. I brought across several projects created with CS3 and CS4 on another PC.  All open and eventually load after I find all the media (the projects are > 250 gig.  The one I