Workflow - create document from template

Hi,
Could anyone tell me what could be the possible use of Create Document from Template step in workflow...

Hi vijay,
1)Open the PC application by choosing the entry Double-click to create in the Document templates tray by double-clicking or choose  in the step definition of the document generation.
The PC application that you last used to create a template is opened in the Workflow Builder. The system fields and the container elements of the workflow container are offered for selection in the navigation area. They can be transferred into the template by double-clicking.
You cannot use any multiline container elements in your template.
All relationships created between container elements/system fields and the document template are displayed in the object area.
It is not possible to insert system fields and container elements into all types of document template.
2) If you want to create a document template of a different class, select  Change document class and choose the new type of document template.
3) Select  to assign a name for the document template.
4) Create the document template in the usual way in your PC application. You can use all the functions of the PC application.
5) Insert container elements and/or system fields from the object area into your template by double-clicking. These fields are replaced with the content of the container elements/system fields at runtime.
6) Select  to save your document template.
Hope this helps u,
Regards,
Nagarajan.

Similar Messages

  • Create document from template without launching Adobe Bridge (InDesign CS4)

    When I select "New Document from Template...  while using InDesign CS4, Adobe Bridge launches instead of a search menu.
    It's much harder for me to navigate through Bridge than it is with a standard New menu. How can I get InDesign NOT to launch Bridge when this happens?

    Just use File > Open... and navigate to the template you want to use.

  • Workflow - document from template step not working properly

    Hi All,
    We are creating a document from the step "Document from a template" in our workflow .
    This document is then given to the user as an attachment to a user decision step where he modifies that document.
    These modifications to the document are stored in the workflow.
    However if i want to give the same document to another user in another user decision, it gives only a read-only copy to him. Is this how a document from a template works or is there some bug in my coding or a possible workaround
    Thanks and regards,

    Hi Amit,
    Have you tried option from menu Document -> load other version , when user opens work item for document from template?
    I think this should serve the purpose of making document editable for other users.
    Hope this helps.
    Regds,
    Akshay Bhawgat
    PS: Some points would be nice if it helps:)
    Message was edited by:
            Akshay Bhagwat

  • Issue with Document from Template

    Hi Friends,
      I am using a Document from Template step to display a set of records in my Workflow. For this i have a created a template of type excel sheet and i have linked the multi line container element from my workflow to this template. But i am not able the view the records in
    sequence.Lets say my multi line container element has the following 2 records:
    WEATH_ZONE     02/01/2008     03/31/2008     ABC
    BACKACST        03/01/2008        03/31/2008        123
    Once i execute my Workflow i am getting the values appended in a
    single row in excel sheet as follows.
    WEATH_ZONEBACKACST     ABC123     02/01/200803/01/2008     03/31/200803/31/2008
    But i need them in the same format as above.Please let me know how i can solve this issue.
    BTW I have done the linking in the template as follows where Str is my multil ine container element and the values after dot is my fields.
    {&STR.OPERAND&}     {&STR.UDEFVAL1&} {&STR.FROMDATE&}     {&STR.DUEDATE&}

    This workaround worked for me:
    You need to enter manually a ## behind your element.
    For example if your multiline element is :
    {&BUS2012.REPORTDESCRIPTION&}
    You need to insert a ## in the element (in the word-document), like this:
    {&BUS2012.REPORTDESCRIPTION##&} .
    Hope it helps you,
    Bert

  • Workflow created documents gets error "File ... cannot be opened because there are problems with the contents"

    I have a list that when an item is changed a workflow kicks in and checks if certain fields are checked. Depending on which field word and excel documents are created in another document library.
    Now this worked perfectly in my Sharepoint 2010 environment, but after moving the site to Sharepoint 2013 this particular workflow doesn't seem to work anymore.
    I've tried to create the whole thing from scratch but still the same issue.
    The issue is the same even if using the default content type, or trying to open the document using Explorer view. I've also tried recreating the function in a different site without 2013s visual upgrade without any luck. It's like something have changed
    in the architecture.
    So does anyone have an idea to why workflow created documents don't work anymore?

    I don't think the issue lies with SharePoint. Do you still have your 2010 environment around so that you can test and see if the issue appears? Seems to me that the Word global template has got corrupted. I have faced this issue in the past but that was
    under entirely different circumstances. Anyhow, I renamed the normal.dotm file and it helped resolve my issue. I am not 100% sure if it will work for you as well, if you want you can give it a try.
    Refer to the below link:
    http://support.microsoft.com/kb/918429
    Exit Word.
    Click Start
    Collapse this imageExpand this image
    In the Start Search box, type the following text, and then press ENTER:
    %userprofile%\appdata\roaming\microsoft\templates
    Right-click Normal.dotm, and then click
    Rename.
    Type Oldword.old, and then press ENTER.
    Close Windows Explorer.
    Start Word, and then open the document

  • Multiline variables are truncated in a Word task " Document from template"

    Hi everyone,
    I’d like to know if somebody have had the situation described below and how can I solve it.
    The problem is when I try to write in a word document (task created as a Document from template) a container element declared as a Abap dictionary referenced as TLINE-TDLINE (Char 132) with multiline flag activated, because when this variable has more than 3 lines during the execution of the workflow, the word document doesn’t gets the  whole value, it means the value is truncated and the word document just write or get 2 and a half lines (almost 350 or 400 characters)  and I don’t know why the rest of the value of this variable is missed.
    Does somebody knows what could be happen?, Does SAP have some kind of limit of the amount of characters to be written in a word document with a multiline variable? There’s a bug in the system and a “note”  to be applied? What can I do to write a variable wit multiple number of lines without missing any one?
    Thanks  a lot for your help.

    I have had a formal answer from SAP (OSS Note) for this issue, and It is no good at all to me (notes 375669, 559234, 724755);
    1.     There’s a restriction on the length for text variables 80 characters
    2.     to implement a long text you need to put several variables together
    If any one has another solution, I would appreciate your comments.
    Thanks a lot
    Felipe Uribe

  • ABAP class to create doc. from template

    Hi all,
    Does anybody know if is there any ABAP class which can call the "Create with template" functionality?
    The idea is to create an action associated with the Service Ticket, which will create a document from template (Content Management functionality) when the Service Ticket is closed.
    We could use SmartForms, but it seems to have some restrictions:
    . Template maintenance is not so user frindly (the content management templates can be created/mantained in MS Word)
    . The document is not stored within the Service Ticket context
    Kind regards,
    Dora

    Hi Lance,
    you are right. There's no "Create User from template" or "Copy User" Activity in the Integration pack for Active Directory in System Center SP1 or R2.
    Perhaps, you can use "Get User" to get some settings from the template and subscribe the results to "Create User" Activity.
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • Can't create VM from template on iSCSI

    Hello,
    I'm trying to create new VM from original Oracle template "OVM_EL5U3_X86_64_PVM_4GB" on iSCSI device without a success.
    Steps to reproduce:
    1) /OVS is mounted as iSCSI block device
    2) Original Oracle template is copied into /OVS/seed_pool/OVM_EL5U3_X86_64_PVM_4GB
    3) Oracle VM Manager - Import template (no problem)
    4) Oracle VM Manager - Create VM from template
    Result: Files are copied into running_pool, vm.cfg is updated, new VM is visible in VM Manager but with this message:
    failed: <Exception: Error updating the image.> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 471, in config_vm raise Exception("Error updating the image.")
    5) Oracle VM Manager - Start new VM
    Result:
    Status in VM is Running
    I can connect using VNC console
    But the VM is constantly rebooting with these messages on the console:
    Registering block device major 202
    xvda: xvda1 xvda2 xvda3
    xvda: p2 exceeds device capacity
    xvda: p3 exceeds device capacity
    Waiting for driver initialization.
    xvda: rw=0, want=101530648, limit-12707414
    attemp to access beyond end of device
    switchroot: mount failed: No such file or directory
    Kernel panic - not syncing: Attempted to kill init!
    Looks like there is a problem with partition sizes within the VM image file (xvda: p2 exceeds device capacity)
    I've tried to mount iSCSI formated with ocsf2 and ext3 - I'm getting the same error.
    However there is no problem when I mount /OVS as NFS or local drive and repeat the steps above.
    Any suggestion would be highly appreciated,
    Honza

    It's all sorted now.
    What I've learnt: OVS/Xen hypervisor doesn't seem to handle 4kB iSCSI block sizes.
    I had to change it to 512 bytes (configuration on the iSCSI storage - nothing on the Oracle VM side) and re-create all volumes.
    Just in case you experience something similar.
    Honza
    Edited by: Honza on Jul 21, 2009 3:00 PM

  • Can't create VM from template

    Hello,
    I'm getting this error when creating VM from template:
    failed: <Exception: Error updating the image.> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 471, in config_vm raise Exception("Error updating the image.")
    The VM is actually created despite this message bot when I try to power it up I'm getting another error:
    failed:<Exception: ['xm', 'list', '478_CITConnect_Internal_TEST']=>Error: Domain '478_CITConnect_Internal_TEST' does not exist. > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 192, in xen_get_vnc_port vm_id = xen_get_vm_id(vm_path) File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 34, in xen_get_vm_id stdout = run_cmd(args = ["xm", "list", vm_name]) File "/opt/ovs-agent-2.2/OVSCommons.py", line 98, in run_cmd raise Exception('%s=>%s' % (cmdlist, p.childerr.read()))
    The template was copied from another VM pool (where it works fine, version 2.1.1) to a newly configured VM Server (2.1.5).
    The new server is configured for HA (shared storage) and I was able to create VM from ISO without any problem there.
    The template was created from existing VM (Oracle EL4 PV) running on the "old" server.
    Any ideas where I should look into?
    Thanks
    Jan
    Edited by: Honza on Jul 9, 2009 10:48 AM

    It's all sorted now.
    What I've learnt: OVS/Xen hypervisor doesn't seem to handle 4kB iSCSI block sizes.
    I had to change it to 512 bytes (configuration on the iSCSI storage - nothing on the Oracle VM side) and re-create all volumes.
    Just in case you experience something similar...
    Honza

  • Remove Templates from Create Incident From Template Selection

    Originally all users had access to all of the templates created, however now that we have been using SCSM for a while the number of templates created has started to grow and make the Create Incident From Template Screen difficult to navigate.  I am
    trying to limit the number of templates each team sees based on security group, however when I uncheck the templates from the Form Templates section of the User Role, they continue to display for all users.  Is there somewhere else I have to go in and
    change this that I am missing?

    Hi,
    Take a look at this thread:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/d0b64ab8-ea5a-4426-968e-77675193473f/hiding-templates-from-console-users-while-still-effectively-using-the-end-user-role?forum=administration
    (By default the End User role has access to all templates, and the members of that role is Authenticated Users)
    Regards
    //Anders
    Anders Asp | Lumagate | www.lumagate.com | Sweden | My blog: www.scsm.se

  • BAPI/FM to Create Projects from Templates

    Is there any BAPI/FM that can create Operative Project Structures referring the Standard WBS including all objects i.e, WBS,N/W,Activities,Milestone of standard project?
    If not, what could be the work around?
    Regards
    Sreenivas

    Hi Robin !
            I have the same issue here, to create projects from a template, using a Function Module to do that, and I tryed to use the FM CJWB_PROJECT_COPY as you suggested, and I achieved to create project from template but, for any reason not known by me, the project is created without status object, so I can´t open it on any transaction(CJ02/CJ03/CJ20n...). I have tested it in SE37, using test sequences, so I call it and BAPI_TRANSACTION_COMMIT to save the data.
            To make the projects available to work, I needed to run a report named CNSTATUS as explained on SAP Note 170948.
            Do you know why using CJWB_PROJECT_COPY created the projects without status object assignment ? I could not find any documentation about this function, so maybe the problem can be caused by some wrong parameter that I was passed to it.
            Do you already used it ? If yes, can you send a sample code ?
            Thank you in advance, and best regards !
            Wilson

  • InDesign CS5- where is create new from template?

    Hi,
    I was looking for creating something new from one of the default templates of CS5, like I've done in the past with CS3 and CS4.  However I find that there doesn't seem to be an option to create new from template.
    Am I completely missing where it is?  Have they called it something else?  Have they removed the default ones completely from InDesign?

    I should perhaps amend that to don't waste time with a template for multiple labels on a sheet. If you see something that works for you as far as basic layout, make a one-up lable from it (cupy the elements from a single label into a new file sized for only one label). Get a sheet full of blank labels, place that file in the upper left position on your larger sheet layout, then use Edit >Step and Repeat... to make the grid. This is much more efficient as it allows you to edit the entire sheet at one time by editing the single label file.
    If you need to d a data merge, you can do nearly the same thing -- put a single blank label layout in the upper left position, add your merge field placeholders in that one label, and run the merge. DO NOT put anything beyond the single label layout on the sheet for a Data Merge job. Also, note that there is a bug in CS5/5.5 that will give you an incorrect multiple records merge if you try to preview. If you preview you must use Undo before the merge to go back to the pre-preview state.

  • Integration pack to create user from template

    Does anybody know if the Orchestrator 2012 Sp1  active directory integration pack has a way to create user from a template?
    I believe there is a create user but not from a template.
    Thanks
    Lance
    Thanks Lance

    Hi Lance,
    you are right. There's no "Create User from template" or "Copy User" Activity in the Integration pack for Active Directory in System Center SP1 or R2.
    Perhaps, you can use "Get User" to get some settings from the template and subscribe the results to "Create User" Activity.
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • Error creating document from using list using Document Template

    Hi All,
    I am trying to create a document from sharepoint list and upload it to a document library using item added and item updated event receiver methods. I can create metadata from list update in document library but unable to open the document. The error message
    I get is "we're sorry. we can't open "Filename" because we found a problem with its contents. no error detail available". Please see the below code.
    SPSecurity.RunWithElevatedPrivileges(delegate()
                       try
                           string TemplateUrl = string.Empty;
                           SPWeb web = properties.OpenWeb();
                           web.AllowUnsafeUpdates = true;
                           SPDocumentLibrary olist = web.Lists["NewLibList"] as SPDocumentLibrary;
                           String url = olist.RootFolder.ServerRelativeUrl.ToString();
                           SPFile file = null;
                           file = web.GetFile(olist.DocumentTemplateUrl);
                           if (file != null)
                               SPListItem oItems = properties.ListItem;
                               web.AllowUnsafeUpdates = true;
                               byte[] readStream = file.OpenBinary();
                               SPFile uploadedFile = olist.RootFolder.Files.Add("http://site/subsite/Libraryname/" + properties.ListItemId.ToString() + ".docx", readStream,
    true);
                               SPListItem listitem = uploadedFile.Item;
                               listitem["Firstname"] = oItems["Firstname"];
                               listitem["Lastname"] = oItems["Lastname"];
                               if (uploadedFile.CheckOutType != SPFile.SPCheckOutType.None)
                                   uploadedFile.CheckIn(string.Empty);
                               listitem.Update();
                               uploadedFile.Update();
                               web.AllowUnsafeUpdates = false;
                       catch (Exception ex)
                           EventLog.WriteEntry(EventLogName, ex.Message, EventLogEntryType.Error);

    Hi,
    Please try to use the code below:
    SPSecurity.RunWithElevatedPrivileges(delegate()
    try
    string TemplateUrl = string.Empty;
    SPWeb web = properties.OpenWeb();
    web.AllowUnsafeUpdates = true;
    SPDocumentLibrary olist = web.Lists["NewLibList"] as SPDocumentLibrary;
    String url = olist.RootFolder.ServerRelativeUrl.ToString();
    SPFile file = null;
    file = web.GetFile(olist.DocumentTemplateUrl);
    if (file != null)
    SPListItem oItems = properties.ListItem;
    web.AllowUnsafeUpdates = true;
    Stream readStream = file.OpenBinaryStream(); //file is SPFile type
    SPFile uploadedFile = olist.RootFolder.Files.Add("http://site/subsite/Libraryname/" + properties.ListItemId.ToString() + ".docx", readStream, true);
    uploadedFile.CheckOut();
    SPListItem listitem = uploadedFile.Item;
    listitem["Firstname"] = oItems["Firstname"];
    listitem["Lastname"] = oItems["Lastname"];
    listitem.Update();
    uploadedFile.Update();
    uploadedFile.CheckIn(string.Empty);
    web.AllowUnsafeUpdates = false;
    catch (Exception ex)
    EventLog.WriteEntry(EventLogName, ex.Message, EventLogEntryType.Error);
    If the issue still exists, I suggest you dubug your code and check whether line of code error.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Problems when Creating Pages from Templates in Dreamweaver 8

    When creating new pages from templates in Dreamweaver 8(Ver
    8.0.2). The full path for images is not created
    i.e. in template the code is <img src="main_page_logo.png"
    width="814" height="172" longdesc="Main Page Logo" />
    In the new file the code should be :-
    <img src="../../Templates/main_page_logo.png" width="814"
    height="172" longdesc="Main Page Logo" />
    but only :-
    <img src="main_page_logo.png" width="814" height="172"
    longdesc="Main Page Logo" /> is in the code.
    but this does work in Version 8.0.
    Does anyone know of a setting or fix for this problem

    > Does anyone know of a setting or fix for this problem
    It was regarded as a bug in previous versions, and was fixed
    in the 8.0.2
    release. In normal circumstances, ALL links in a template
    file must be
    relative to the template document, not relative to where you
    intend to save
    the child pages. Thus, there would be no way to have a link
    in your
    template document like the first one you show, e.g.,
    <img src="whatever.png"....
    *unless* the file was actually in the Templates folder (a bad
    idea).
    In 8.0.2, you can set your PREFERENCES for the Templates
    category to NOT
    MANAGE relative links. Be aware that this may have unintended
    consequences
    for you - specifically regarding other relative links in your
    site.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "pgs_it" <[email protected]> wrote in
    message
    news:eivj88$361$[email protected]..
    > When creating new pages from templates in Dreamweaver
    8(Ver 8.0.2). The
    > full
    > path for images is not created
    > i.e. in template the code is <img
    src="main_page_logo.png" width="814"
    > height="172" longdesc="Main Page Logo" />
    > In the new file the code should be :-
    > <img src="../../Templates/main_page_logo.png"
    width="814" height="172"
    > longdesc="Main Page Logo" />
    > but only :-
    > <img src="main_page_logo.png" width="814"
    height="172" longdesc="Main Page
    > Logo" /> is in the code.
    > but this does work in Version 8.0.
    > Does anyone know of a setting or fix for this problem
    >
    >
    >

Maybe you are looking for