Extending the same form twice
Hello everyone
We are in the process of moving from paper foem for IT computer and access resources.
I have two completely different forms with many fields requesting user input
1) one for System access - eg new domain, email, share permission etc
2) one for Hardware - request laptop, scanner, printer etc
I created a new MP,extended the Service Request Class for the first form, imported MP and published to self service portal and works. The second MP I have done just about the same thing but
When i try to import the second management pack I get
The management pack import failed.
Errors (1):
The form base is not valid. Form CustomForm_782e48a6_5a5e_482d_8c8b_8be983c0e7f6 extends form Microsoft.EnterpriseManagement.ServiceManager.Applications.ServiceRequest.Forms.ServiceRequestForm, which already has another extension (CustomForm_ff446f5d_b10f_4772_84ef_7e7c4a6c5bc0).
Is there something I am missing?
Any help is appreciated
I see, that was what i was afraid off.
I guess there is no add-ons for purchase that add's something to all work items. (even though i have heard about some upcoming stuff that does ;))
too bad! .. i will stick to normal custimization then. luckily it is not much xml that needs to be added.
(would have been the SAME Xml .. but the form designers have not followed any kind of naming convention, so custom customization is needed for each type of items. (the main tabcontol is named TabControl, srTabControlMain, formTabs etc. ) ;)
Best Regards
Jakob Gottlieb Svendsen
Trainer/Consultant - Coretech A/S -
Blog
MCT - MCTS - VB.NET - C#.NET - Powershell - VBScript Mastering System Center Orchestrator 2012 - 3 day workshop - worldwide training click
here
Similar Messages
-
CALLING THE SAME FORM TWICE IN WEB
Dear OTN members and Support team,
I have a problm in the web. OK let me tel u the envirnment.
Database Server 8.04
Web Application Server 3
Developer Server 2.1
Jinitiator 1.1.5.21.1
Problem Description : When I call a from for the first time it
comes perfectly in the browser. But when I close the from and
try to call it again ( by giving the address in the URL) it does
not call the from. Instead it says Java applet loading.
What could be the reason. And how to overcome it?
Hop I will get a solution.
With Best regards
Feroz
nullFeroz Khan (guest) wrote:
: Dear OTN members and Support team,
: I have a problm in the web. OK let me tel u the envirnment.
: Database Server 8.04
: Web Application Server 3
: Developer Server 2.1
: Jinitiator 1.1.5.21.1
: Problem Description : When I call a from for the first time it
: comes perfectly in the browser. But when I close the from and
: try to call it again ( by giving the address in the URL) it
does
: not call the from. Instead it says Java applet loading.
: What could be the reason. And how to overcome it?
: Hop I will get a solution.
: With Best regards
: Feroz
Download the Feb 25, 1999 Developer 2.1 Server patch, which
upgrades forms to version 5.0.6.14.2. This was bug that is
fixed in this version of forms.
Mark
null -
Upload image to directory and data to database from the same form
Hello all
I'm playing at building a shopping cart (never done one
before) from a tutorial by Gordon Knapp at www.webthang.com.
I have created the site and it works perfectly. Now I want to
extend it.
There is a form that allows the user to add data to the
database. I would also like to be able to upload an image to a
directory on the server and add the data to the database at the
same time from the same form. It would be good if the input field
"<input name="product_picture" type="text" id="product_picture"
tabindex="6" size="50" />" could be populated automatically by
the filename of the image being uploaded, but this isn't a
neccessity.
I have looked at various ASP Upload packages and I can upload
an image alone but none of them make it clear how to upload the
image and add data to the database at the same time.
As this is a private project I need any suggestions to by
free.
The tutorial shows how to create the site in Ultra Dev but
worked perfectly well in DW. The page concerned looks like this. It
is named 'admin_add.asp':
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../Connections/con_ecom.asp" -->
<%
Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
MM_editAction = MM_editAction & "?" &
Server.HTMLEncode(Request.QueryString)
End If
' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%>
<%
' IIf implementation
Function MM_IIf(condition, ifTrue, ifFalse)
If condition = "" Then
MM_IIf = ifFalse
Else
MM_IIf = ifTrue
End If
End Function
%>
<%
If (CStr(Request("MM_insert")) = "add_form") Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_con_ecom_STRING
MM_editCmd.CommandText = "INSERT INTO products
(product_category, product_name, product_price, product_briefdesc,
product_fulldesc, product_picture) VALUES (?, ?, ?, ?, ?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202, 1, 50,
Request.Form("product_category")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param2", 202, 1, 50,
Request.Form("product_name")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param3", 5, 1, -1,
MM_IIF(Request.Form("product_price"),
Request.Form("product_price"), null)) ' adDouble
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param4", 203, 1, 536870910,
Request.Form("product_briefdesc")) ' adLongVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param5", 203, 1, 536870910,
Request.Form("product_fulldesc")) ' adLongVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param6", 202, 1, 50,
Request.Form("product_picture")) ' adVarWChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
' append the query string to the redirect URL
Dim MM_editRedirectUrl
MM_editRedirectUrl = "admin_control.asp"
If (Request.QueryString <> "") Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" &
Request.QueryString
End If
End If
Response.Redirect(MM_editRedirectUrl)
End If
End If
%>
<!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=utf-8" />
<title>Administration - Add Product</title>
<link href="../scripts/admin.css" rel="stylesheet"
type="text/css" />
<script type="text/javascript"
src="../scripts/ecom.js"></script>
</head>
<body onLoad="adminTitle()">
<div id="wrapper">
<div id="pageHeading">ADMINISTRATION - ADD
PRODUCT</div>
<div id="navBar"><a
href="admin_control.asp">Control</a> | Add | <a
href="admin_view.asp">View</a> | <a
href="admin_update1.asp">Update</a> | <a
href="admin_delete1.asp">Delete</a> | <a
href="../Default.asp">Shop</a></div>
<br />
<form name="add_form" id="add_form" method="POST"
action="<%=MM_editAction%>">
<table border="1" align="center" id="tblArea">
<tr>
<td class="tdLabel">Product Category</td>
<td colspan="2"><input name="product_category"
type="text" id="product_category" tabindex="1" size="50"
/></td>
</tr>
<tr>
<td class="tdLabel">Product Name</td>
<td colspan="2"><input name="product_name"
type="text" id="product_name" tabindex="2" size="50"
/></td>
</tr>
<tr>
<td class="tdLabel">Product Price</td>
<td class="tdContent" colspan="2"><input
type="text" name="product_price" id="product_price" tabindex="3"
size="50" /></td>
</tr>
<tr>
<td class="tdLabel">Product Short
Desciption</td>
<td class="tdContent" colspan="2"><textarea
name="product_briefdesc" id="product_briefdesc" cols="47" rows="4"
tabindex="4"></textarea></td>
</tr>
<tr>
<td class="tdLabel">Product Full
Description</td>
<td class="tdContent" colspan="2"><textarea
name="product_fulldesc" id="product_fulldesc" cols="47" rows="5"
tabindex="5"></textarea></td>
</tr>
<tr>
<td class="tdLabel">Product Image File Name</td>
<td class="tdContent" colspan="2"><input
name="product_picture" type="text" id="product_picture"
tabindex="6" size="50" /></td>
</tr>
<tr>
<td class="tdLabel"> </td>
<td align="center"><input type="reset" name="Reset"
id="Reset" value="Reset Form" /></td>
<td align="center"><input type="submit"
name="Submit" id="Submit" value="Add To Shop" /></td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="add_form"
/>
</form>
</div>
</body>
</html>
Hope you can help.
Warm regards
MartinGot it sorted.
Found an excellent tutorial at Webthang.
http://www.webthang.co.uk/tuts/tuts_dmx/rob15/rob15.asp -
MouseEvents and KeyEvents in the same form is not working
Hello!
I'm newbee in java althought i've bee programing for a long time in other languages, C, C++ wich i'm proud of.
Now i land on java and there are a lot of cuestions (nothing that cant be solved by trying and reading).
But today i hitted my head against all posible solutions and nothing (but bad mood) came out.
The code with trouble is this...
public class NewJFrame extends javax.swing.JFrame
public NewJFrame()
initComponents();
private void initComponents() {
jButton1 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
formKeyPressed(evt);
public void keyReleased(java.awt.event.KeyEvent evt) {
formKeyReleased(evt);
public void keyTyped(java.awt.event.KeyEvent evt) {
formKeyTyped(evt);
jButton1.setText("jButton1");
jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton1MouseClicked(evt);
pack();
private void formKeyTyped(java.awt.event.KeyEvent evt) {
Integer i = evt.getKeyCode();
private void formKeyPressed(java.awt.event.KeyEvent evt) {
Integer i = evt.getKeyCode();
private void formKeyReleased(java.awt.event.KeyEvent evt) {
Integer i = evt.getKeyCode();
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
Integer i = evt.getButton();
private javax.swing.JButton jButton1;
}In debug mode i cant listen to mouse events and key events in the same form. Is that normal ?
In case this is normal, how can i surround this "problem" and make it work.
Thanks a lot in ahead.Thanks for trying to understand whats going on ...
There is my SSCCE
* NewJFrame.java
* Created on 2 de mayo de 2008, 20:32
* @author edu
public class NewJFrame extends javax.swing.JFrame
public NewJFrame()
initComponents();
setFocusable(true);
requestFocus();
private void initComponents() {
jButton1 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
formKeyPressed(evt);
public void keyReleased(java.awt.event.KeyEvent evt) {
formKeyReleased(evt);
public void keyTyped(java.awt.event.KeyEvent evt) {
formKeyTyped(evt);
jButton1.setText("jButton1");
jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton1MouseClicked(evt);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 400, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jButton1)
.addGap(0, 0, Short.MAX_VALUE)))
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 300, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jButton1)
.addGap(0, 0, Short.MAX_VALUE)))
pack();
private void formKeyTyped(java.awt.event.KeyEvent evt) {
setTitle(String.valueOf(evt.getKeyCode()));
private void formKeyPressed(java.awt.event.KeyEvent evt) {
setTitle(String.valueOf(evt.getKeyCode()));
private void formKeyReleased(java.awt.event.KeyEvent evt) {
setTitle(String.valueOf(evt.getKeyCode()));
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
setTitle(String.valueOf(evt.getButton()));
private javax.swing.JButton jButton1;
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new NewJFrame().setVisible(true);
}It's quite simple, its suposed to show on the windows title the KeyCode (if there is any) or the MouseButton when pressed.
The problem is: it doesnt work... (if i comment out the jButton1 related code, that means that i dont listen to MouseEvents & dont add the MouseAdapter as MouseListner to the form, the KeyEvents are raised and i can listen to them - but there are no MouseEvents - if i run the SSCCE like above i can listen to the MouseEvents, but cant listen to the KeyEvents. Can you tell me why?
Just before posting i realized it was a focus issue ! The button got the focus and got all the events redirected towards him ! I solved it with the code
jButton1.setFocusable(false);and it finally worked !
Thanks! -
Prevent double running the same FORM application
Dears,
Anyone knows how to prevent users from running same FORM application in the same computer twice? Is there any ways to detect the application is already running and refuse to run it again?
Thanks,
Vici have a tree-menue where i use code like this in the when-tree-node-activated trigger which opens new forms:
frmId := find_form(frmToOpenName);
-- Open form only if there's no instance (for current user) of it at the moment
if id_null(frmId) then
open_form(.....);
else
go_form(frmId);
end if;
of course, if the user opens another tree-menue, he can open the same form again. but in one browser (i use 9i), he can open it only once. -
How can I avoid opening the several instances of the same form?
Hi Friends,
I have a MDI form with a menu. When open a form by clicking the menu twice, it is opening two instances of the same form. It is eating up all resources of my memory.
How can I avoid opening the multiple instances of the same form? I want the activate the form which is already open instead of opening the new instance of the same.
Anybody knows solution please help me.
Thanks
Gopinath KonaHi,
U must be using the built-in OPEN_FORM in your code. Instead of that, check it using the following code....
IF ID_NULL(FIND_FORM('form_name')) THEN
OPEN_FORM('form_name with the path');
ELSE
GO_FORM('form_name'); --shifts the control into the form which is already open.
END IF;
hope it helps...
null -
I pressed the button twice and purchased the same movie twice on istore. How do I delete the double purchase and be reimbursed?
http://www.apple.com/support/mac/app-store/contact.html?form=account&topic=MacAp pStoreAccountandBilling
-
How can multiple users manage the same forms?
We are looking to purchase FormsCenral however after read this FAQ on teams we are confused:
http://forums.adobe.com/docs/DOC-2903#Q3
How do we manage forms if more than one user needs to make changes to the same forms?You would have a primary user/e-mail address attached to your FormsCentral account, and you can assign multiple co-authors to any of your forms. They would need to each have a free Adobe ID.
I work in a Higher Education setting, and have co-workers and Graduate Assistants who are co-authors on forms I've produced, so they can each edit and/or view the submitted response tables.
I hope that helps,
Brian -
Prevent multiple users accessing the same form
hi,
i am working in forms
i have a requirement like this
if more than one user are using the same form and try to access the same record then the second user should not be able to do transaction
he should be popped up with a msg saying that other user is working on it
can any one suggest how to do this in my form
thanks in advance
selvaraj sThat is pretty much exactly the way Forms works automatically.
Two users can use the same form, and can even display the same data record. One of the users can make changes to the record -- Forms locks the row upon the FIRST keystroke in the first field the user begins to change.
Once the row is locked, the second user is free to look at the record, and won't even know if another user has begun making changes. However, if second user tries to change even one field in the record, Forms pops up the message, "Could not reserve record (2 tries). Keep trying? Yes / No"
There are also protections so if the first user actually changes the row and commits, then the second user tries to make a change. Forms will automatically detect whether changes were made, and if so, will undo the change and issue the message, "FRM-40654: Record has been updated by another user. Re-query to see change."
The above automatic processing works very nicely. If it will not work for you, then what is it you need? -
How do I use the same photo twice in a slideshow created in iPhoto'11?
I created a slideshow in iPhoto'11 and would like to use the first slide also as the last slide.
How can I use the same photo twice?Seems you have to duplicate the photo in your Library to add the same picture twice.
-
How can I retrieve the same figure twice in report?
Hi guys,
If we have the same selection twice in the same report, it only retrieves the figure once (see example below, were the same period has been chosen twice). Is there any setting I can adjust, so it will retrieve the figures for double-selected members also?
Thanks,
DortheHi Dorthe,
No issues in my system (BW 7.3, BPC SP12, EPM SP16 patch1):
B.R. Vadim -
Open new window in the same form
Hi
I created a form with 6 records displayed. I have a check box for each record. I would like to select a record and make the check box checked. Once I check a checkbox I would like to automatically open a new window in the same form with further details of the checked record. Could you please help me how I could work on this.Dear you have to create relation between the blocks then you can achieve this like:
1) Create two canvases in your form (canvas1 and canvas2).
2) Create a window in your form with name Window2 now you have two windows (Window1 and Window2).
3) now set the property 'Primary Canvas' of each window (Window1 = Canvas1, window2 = Canvas2)
4) Now create database block of you main table with (CAT, NAME, DEPT) fields and select the Canvas1 in the layout wizard.
5) Create another database block with same table but this time select only 3 fields (CAT,SAL, DATE) and at the time of creation mention relation between blocks in the Data block wizard (block1.cat = block2.cat) and select the Canvas2 in the layout wizard.
6) Now create check box field name MASTER_CHBOX in first block and set Database Item property no of this check box item and set the Value When Checked property to Y and N for Value When unChecked.
7) Create a trigger on CheckBox Item and paste below code in it.
if :MASTER_CHBOX = 'Y' then
show_window('WINDOW2');
go_item('SAL');
end if;
Regards.
Omer -
When the first ipad came out i set it up and created an itunes account, since then she got an iphone and an ipad and everything was good. I had an android but wanted to try out the iphone. When i set it up ut jumpled all of our contacts, apps, and everythin. it was a mess.
Since, i purchased and ipad 2 and an iphone and to keep our stuff from combing i used a different computer and created an new apple ID for myself so our info wouldnt combine, I was wondering if i did the right thing or if i should have went about it a different way. I was going to see if there was a way when she purchased a song i could get it. I dont want to pay for the same song twice and only want to share songs. If i cant do this can i copy her library and paste it into my itunes??
Any help wouldl be greatly apprecieated we both have icloud set up but i cant figure out the best solution.Welcome to the world of digital media. Your can't really transfer it. I don't know what the rules are about transferring to your spouse but I do know that in some cases when you die, your heirs cannot inherit your digital media. This is why there is still an advantage to buying the CD since the usage rights belong to whomever holds the physical media.
A possible workaround is to burn the songs to a music CD with yout account (tracks only without song titles) and then having your wife upload it as a regular music CD onto her account. It's been a while since i've done this so I'm not sure if it would work now.
Please note that I'm not advocating copyright and/or TOS violations. I'm only suggesting ways to copy music for your own personal use which has traditonally been permitted. I only did this because I wanted to convert iTunes songs to mp3 files so I could burn them onto a data CD for use in my car. It would make sense that since married couples are a joint entity, this would be personal use.
Also, I'm not a lawyer so don't take this as legal advice. -
About a week ago I started getting phone calls on my cell phone from numbers that do not exist, including the area codes. I can not report these to the Do Not Call list because the area code is non existent. I'm getting these calls all the time now and never from the same number twice so there's no point in blocking them. If I answer I may or may not get a person who has an accent from India so heavy that I can't understand what they are saying. This is getting to the point where I just want to cry I'm so frustrated. Anyone else having this issue or does anyone know how to stop it?
Thank youI'm sorry that you are having all these troubles. I have sent you a private message.
Anthony_VZ
**If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan -
Prevent multiple users from editing/approving the same form SPD 2013,SP 2013
Hello all, I have a workflow with a to do task, the task is assigned to a group so any of the users in that group can go in and do a quality check on form data and approve it. How do I prevent multiple users from working on the
same form? do I just require check out? or is there a way to notify the rest of the group that a user has already started the quality check.The "Require Checkout" option is your best bet. You can also enable the auto checkout on edit option to allow minimal effort on the side of the user. Other users will then get the error message stating the item is checked out, if they try to
edit it.
If you'd like, you could add a workflow to the task list that triggers when something is changed. That workflow can check if the item is checked out and if so, email the other users assigned to the task.
I trust that answers your question...
Thanks
C
|
RSS |
http://crayveon.com/blog |
SharePoint Scripts | Twitter |
Google+ | LinkedIn |
Facebook | Quix Utilities for SharePoint
Maybe you are looking for
-
Is there anyone here with an unlimited data who has,,,,,
1....bought(at full price) a tablet, and switched between the tablet and phone as you would switching two phones without losing your unlimited plan 2....signed up for the 1 month hotspot for $30 (for 1 month only, like say for vacation), and using yo
-
I have been using a Time Capsule with with Mac Air 13 inch for the last 1.5 years. the Time casule is the main wi-fi router in my network. off late i have started getting a message Device not found, where as the internet is connected. due to this err
-
have a mac book pro that crashed. ran disk utility to repair. comp booted and ran for short time. then crashed. ran repair again. disk utility said it could not repair disk and needed to format and start again. comp said it could not unmount disk and
-
Problems with authorizing my computer
I authorized my new computer, but every time I try to play a song purchased with an old account, it tells me I need to authorize this computer. But when I type in my username and password, nothing happens. Then I try to go to Store, authorize this co
-
Canon driver/OS 10.9.2
Is the current Canon Pixma MX870 driver compatible with OS 10.9.2?