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
Similar Messages
-
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. -
DW 8 mangling doc from template
All of a sudden, DW 8 (Mac OS X 10.3.9) is screwing up
documents created
from my templates in all three of my sites. This is what
*should* show in
the header of the docs:
<link rel="stylesheet" type="text/css"
href="CSS/main.css">
<script type="text/javascript"
src="js/p7_eqCols2_10.js"></script>
But this is what I'm now seeing instead:
<link rel="stylesheet" type="text/css"
href="file:///BRASH/Users/bethrosengard/Documents/%20BR%20DOCUMENTS/Steph/CS
S/main.css">
<script type="text/javascript"
src="file:///BRASH/Users/bethrosengard/Documents/%20BR%20DOCUMENTS/Steph/js/
p7_eqCols2_10.js"></script>
I can work around it by reattaching the doc to the template
but I shouldn't
have to. I create the docs as I always have:
File>New>New from template.
I have tried the following to no avail:
Tossing the DW prefs.
Recreating the site caches.
Re-navigating to the site and image folders in the site
definitions.
So what's going on and how do I fix it??
TIA,
Beth> This message is in MIME format. Since your mail reader
does not understand
this format, some or all of this message may not be legible.
--B_3250253983_78764294
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit
On 12/29/06 3:03 PM, in article
[email protected], "Murray
*ACE*" <[email protected]> wrote:
> Can you show me the template file involved?
This is one of several templates, all of which now
demonstrate the same
behavior:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="
http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1" /> <!--
TemplateBeginEditable
name="doctitle" --> <title>Template</title>
<!-- TemplateEndEditable -->
<link rel="stylesheet" type="text/css"
href="../CSS/main.css"> <script
type="text/javascript"
src="../js/p7_eqCols2_10.js"></script> <!--[if IE
5]>
<style> #sidebar {width: 182px;} </style>
<![endif]--> <!--[if lte IE 6]>
<style> #container{
width:expression(parseInt(this.currentStyle.marginLeft)+parseInt(this.curren
tStyle.marginRight)-document.body.clientWidth>=-730?"730px":"auto");}
#container, #content, #sidebar {height: 1%;} #navbar a
{height: 1em;}
</style> <![endif]--> <!--
TemplateBeginEditable name="head" --><!--
TemplateEndEditable --> </head> <body
onLoad="P7_equalCols2(1,'sidebar','P','content','P')">
<div id="wrapper">
[HTML snipped]
</div> </body> </html>
And below is the problem area of the document I just now
created from this
template:
<link rel="stylesheet" type="text/css"
href="file:///BRASH/Users/bethrosengard/Documents/%20BR%20DOCUMENTS/Steph/CS
S/main.css"> <script type="text/javascript"
src="file:///BRASH/Users/bethrosengard/Documents/%20BR%20DOCUMENTS/Steph/js/
p7_eqCols2_10.js"></script>
I hope this goes through in HTML or you¹re going to have
a hell of a time
sorting it out :-).
Thanks,
Beth
--B_3250253983_78764294
Content-type: text/html;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>Re: DW 8 mangling doc from
template</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Arial"><SPAN
STYLE=3D'font-size:12.0px'>On 12/29/06 3:03 PM, in a=
rticle [email protected], "Murray
*ACE*" <foru=
[email protected]> wrote:<BR>
<BR>
<FONT COLOR=3D"#000098">> Can you show me the
template file involved?<BR>
</FONT><BR>
This is one of several templates, all of which now
demonstrate the same beh=
avior:<BR>
<BR>
<FONT COLOR=3D"#800000"><!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 =
Transitional//EN" "<a href=3D"
http://www.w3.org/TR/xhtml1/DTD/xhtml1=
-transitional.dtd">
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</=
a>">
<html xmlns=3D"
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv=3D"Content-Type"
content=3D"text/html; chars=
et=3DISO-8859-1" />
<!-- TemplateBeginEditable
name=3D"doctitle" -->
<title>Template</title>
<!-- TemplateEndEditable -->
<link rel=3D"stylesheet"
type=3D"text/css" href=3D"..=
/CSS/main.css">
<script type=3D"text/javascript"
src=3D"../js/p7_eqCols2_10.j=
s"></script>
<!--[if IE 5]>
<style>
#sidebar {width: 182px;}
</style>
<![endif]-->
<!--[if lte IE 6]>
<style>
#container{
width:expression(parseInt(this.currentStyle.marginLeft)+parseInt(this.curre=
ntStyle.marginRight)-document.body.clientWidth>=3D-730?"730px":&q=
uot;auto");}
#container, #content, #sidebar {height: 1%;}
#navbar a {height: 1em;}
</style>
<![endif]-->
<!-- TemplateBeginEditable
name=3D"head" --><!-- TemplateE=
ndEditable -->
</head>
<body
onLoad=3D"P7_equalCols2(1,'sidebar','P','content','P')">=
<div id=3D"wrapper">
<BR>
[HTML snipped]<BR>
<BR>
</div>
</body>
</html><BR>
</FONT><BR>
And below is the problem area of the document I just now
created from this =
template:<BR>
<BR>
<FONT COLOR=3D"#800000"><link
rel=3D"stylesheet" type=3D"text/c=
ss"
href=3D"file:///BRASH/Users/bethrosengard/Documents/%20BR%20DOCU=
MENTS/Steph/CSS/main.css">
<script type=3D"text/javascript"
src=3D"file:///BRASH/Users/b=
ethrosengard/Documents/%20BR%20DOCUMENTS/Steph/js/p7_eqCols2_10.js">=
</script><BR>
<BR>
</FONT>I hope this goes through in HTML or
you’re going to have a hel=
l of a time sorting it out :-).<BR>
<BR>
Thanks,<BR>
<BR>
Beth</SPAN></FONT>
</BODY>
</HTML>
--B_3250253983_78764294-- -
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,
HonzaIt'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 -
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 AMIt'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
SreenivasHi 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 LanceHi 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 -
Create file from template format problem
Hi
I have a template (index.dwt.asp). In the body tag is
<body id="<% =xid %>" class="<% =bodyclass %>" onload="SwitchMenu('<% =loadm %>')">
when I create a new from template it writes the code with a capital L in the onload function which will not validate as xhtml strict.
<body id="<% =xid %>" class="<% =bodyclass %>" onLoad="SwitchMenu('<% =loadm %>')">
Is there any thing that can be done to stop this.
Thanks
Paul MAlso, just so you'll know, I cannot reproduce this in CS4. If I create a template -
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body id="<% =xid %>" class="<% =bodyclass %>" onload="SwitchMenu('<% =loadm %>')">
<!-- TemplateBeginEditable name="EditRegion3" -->EditRegion3<!-- TemplateEndEditable -->
</body>
</html>
and spawn a child from it, here is what I get -
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><!-- InstanceBegin template="/Templates/test-onload.dwt.asp" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body id="<% =xid %>" class="<% =bodyclass %>" onload="SwitchMenu('<% =loadm %>')">
<!-- InstanceBeginEditable name="EditRegion3" -->EditRegion3<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html> -
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
>
>
> -
Create Domain from template doesn't loads right deployment configurations
Hi!
I would like to export my domain configuration in a new machine.
As documentation reccomended I've generated the template.jar using the template builder.
When I try to create a new domain on other machine (using the option "create domain from tempalte") I noted that the configuration server would load correctly but the same doesn't happens for the deployment configuration.
Does Anyone know where is the error?
DiegoThank you for the reply.
Since I've configured a complex environment this is a critical issue for me.
I tried two different solution.
The first is using the template builder, the second using the pack/unpack script but the result is the same.
I hoped to solve the problem unpacking the environment changing only the config file but it seem get more than one problem.
I will ask helping to the support.
Diego -
Error when creating project from template
I'm getting an error when i try to create a project from template. It's the same error no matter which template i select.
WebIDE: 1.9.3.1
Is there a new setting i missed or...?Henrik Damhøj Andersen
Problem has been resolved. Please check again.
Regards,
JK -
Create project from template failed with "badly formed pathname" error message
Hi,
I am trying to create a project from a custom template, but I am getting the following error message prompt:
LabWindows/CVI could not create
Test_Project
because of an error: Badly formed pathname
However, when I checked the target project directory, I see the project files are copied correctly. I don't know if there is something missing from our custom templates? Of, if there is something wrong with our custom template?
I am using LabWindows/9.0
Thank you.
PeggyHi Peggy,
Did I understand you correctly that the files for the new project appear to have been created, but the error dialog still shows? In addition to Wolfgang's suggestions, take a look at the help section on New Project and File Templates. This describes everything that should be needed to create a custom template. Also, try to create a new, very basic custom template and make sure that you can use it successfully. If you can, start adding in the functionality of the original template, and test along the way. Hopefully either this new one will work once you finish, or you will see at which point it is breaking, and we can debug from there.
Best Regards,
John M
National Instruments
Applications Engineer -
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.
Maybe you are looking for
-
How can I put this into a table
I have the following code inside a table. <table border="0" width="760"> <tr> <td class="TitleText"> <cfoutput query="qrySerialNumbers" group="materialNumber"><b>Material Number:</b> #materialNumber#<p> <cfloop from="1" to="#quantity#" index="i"> <cf
-
I forgot both my apple ID password and my mail password and i can`t acces my iCloud. I have all the documents from my iPhone. What i can do to recover my password or delete my iCloud Apple ID
-
Question? I don't know if this has been covered already but I could not find a thread that specifically addressed this situation. Just bought a new Macbook Pro 15' Retina. Reasoning behind this is my late 2009-10 iMac's hard drive failed and not a
-
Tutorial is simple but the reality... A little help: i have a web service written in C# and its wsdl. Now i have to create the partner link to call this service. I need to know where i have to put the folder (and the wsdl)... I only know I have to se
-
View all objects of a user in Oracle
Hi, As I can see in sqlplus all objects that correspond to a user in a schema x. Thanks