UCM Web Form, help needed
Hi,
I just have started working on Oracle UCM. I am majorly stuck with web form (HCSF).
Below is the form code,
<form name="CommentsPageForm" method="POST" action="<!--$HttpCgiPath-->">
<input type=hidden name="IdcService" value="SUBMIT_HTML_FORM">
<input type=hidden name="dID" value="<!--$SourceID-->">
<input type="hidden" name="RevisionSelectionMethod" value="Latest">
<input type=hidden name="FormDocTitleScript" value="<!--$UserName--><!--$formTitle-->">
<input type="hidden" name="RedirectURL" value="<!--$HttpCgiPath-->?IdcService=GET_FILE&dDocName=<!--$ref:dDocName-->&Rendition=Web&RevisionSelectionMethod=Latest">
<!-- All input fields and conditional code -->
</form>
If I keep the dID input field then it throws an error message like following
Content Server Request Failed
Unable to submit HTML form. The HTML form is not the latest revision.
If I remove the dID input field then it throws an error message like following
Unable to execute service (null) and function computeDocID.
(System Error: Either dID must be specified or RevisionSelectionMethod must not force the choice of a dID.)
I have tried to remove and add other input fields but nothing has worked.
Please help me out with this. Please point out where I made the mistake. I copied
codepieces from Bex Huff's book, that too had same error.
Regards
Udita
hi All,
I'm facing the same issue, I have a soap request which will update the metadata field on the service call.
The request url is coded as
var requestUrl = httpCgiPath + "?IdcService=UPDATE_DOCINFO" + "&dID=" + datafileID +"&dDocName=" + datafileDocName + "&xComments=" + inputComments.value + "&dDocTitle=" + inputTitle.value + &idcToken=#active.IdcToken" + "&IsSoap=1";
When I fetch the dynamic url and tried in browser then I get following error:
Content Server Request Failed
Unable to update the field. The authorization token is invalid. It has either expired or is not appropriate for the current request.
You may need to reload an earlier page in order to proceed.
See I have added idcToken as you guys suggested still token issue :(
Any pointer for this issue will be helpful.
Thanks
Similar Messages
-
Product Specific Form - Help Needed
I have a client who will be selling firearms and ammunition on a hunting site, along with other hunting products.
I need to have a form specific for firearms and ammunition products that will be required to be filled out before that product firearm and or ammunition can be added to the cart. The laws in Canada are very strict about purchases of such product on the internet.
How do I do this or is it even possible to have a form specific to these products pop up when add to cart is clicked?
Thanks in advanceHello river east,
I'm just spitballing here, but here is one option for this to work.
Basically you would create a secure zone and if the user isn't signed in they wouldn't see the Add to Cart button.
The js would look like this - http://jsfiddle.net/chaddidthis/uDmXj/1/
As a part of signing up for the secure zone they have to accept the gun and ammo purchasing terms. You could have the link to the form on the large product page, sends them to either log in or sign up via the form they need to fill out. After then fill out the form they are sent back a page sending them back into the large product view they were on, and since they are signed in now the product will be able to add to cart.
Maybe this will spark others to add on to this, but that is pretty much the only way I could think to accomplish the desired results.
Hope it helps,
Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7 -
I am new to Dreamweaver 8 (but have worked with simple html a
quite a bit) and am working on building a, hopefully, simple
prototype for a project. What I need to do is collect user-entered
text and user-selected dropdown box data on one page and send it to
another for presentation there. After looking at the Help screens,
I looked at using Session variables and it seems that is the best
way to pass the data. Where I am stuck is in the (from Help
Contents) Making Pages Dynamic - Creating Forms - Creating HTML
forms help. They first say to, in step 2, Select Insert > Form
(which doesn't do anything - you have to click another option,
which I figured meant Form again). Then, in step 3, they say to
"Specify the page or script that will process the form data." by
selecting the file in the Action box in Properties. I don't have a
file to "process the form data" and don't really know what they are
talking about. Help!
I originally (before I reverted to using Help) set it up with
Insert->Form->Text Field text entry boxes, figuring this was
a Form field that could be captured and passed on. Right? Wrong? I
guess I thought the method would be to define a variable name
associated with a text input field in one page, then pass it with
the value to the next page. That is pretty much what it seems
Session variables do (?), which I discovered when I started looking
at Help.
So, was I on the right track for a simple implementation and
missed the way to capture and transmit the data, or do I need to
use the Forms->Forms option? If the former, how do I define the
variable names? If the later...well, I am real confused then. :-)
Thanks for your help.
(btw, we do have training material coming - went with
Dreamweaver for Dummies, Peachpit Macromedia Dreamweaver 8 Hands-On
Training "dead tree media" and TechRepublic Fast Track Dreamweaver
8 CBT. Any opinions on those?)Session variables as the name suggests are created when a
user starts a session and last till the session is open. You form
doesn't really need session variables unless you are carrying form
data from one page to another and need to keep it associated with
that specific user such as in shopping cart applications.
I have never used the dreamweaver insert form, so can't help
you there. why not code the form yourself, especially since you
have been using html
The link below may help.
http://www.w3schools.com/html/html_forms.asp -
I am trying to fill out a pdf form created by the Government of Canada and when I enter text in to the one of the text fields it does not keep the text there the text field merges with the box above. The form is available here: http://www.international.gc.ca/development-developpement/assets/pdfs/partners-partenaires/ calls-appels/iyip-psij-form-2014-eng.pdf . The fields I am having the problem with is 1.1 Internship Details which when I put in the answer (1200 words) it half merges with the text box above 1.0 Rationale for Initiative.
I have downloaded a number of versions of the file (on a number of pcs) and they all have the same problem. There are problems downloading the form in Chrome and some of the other web browsers but the newest version of IE works. I need to know if I am doing something wrong or if there is a problem with the form itself. I'm using Adobe Reader XI to fill the form and it was created using LiveCycle Forms 9.0. The creator of the form is highly unlikely to offer any assistance unless I can prove the problem is on their end. This is an RFP due tomorrow and my job kinda depends on it. HELP!Hi Erin,
I've downloaded the form and tried to fill it in myself. I'm able to paste in 700 words (just under 4000 characters) without issue, but anything above that produces the error that you describe. So, it seems to me that the form designer may have imposed a limit on how many characters can be entered into that form field.
I hope that helps....
Best,
Sara -
i am a student. working on a project. using java web services. using its api jax-rpc. i have compiled, deployed and run an example given in the tutorial of the web services tutorial\examples\jaxrpc\hello. now i want to bring the "hello" folder out of its original directory to e.g c:\project\. i have tried alot. i am not able to set the paths in the xml files provided. if any one of you can help me in this. my address is [email protected] . i am waiting for your reply.
Where are you stuck up.
Try the following steps
create a directory structure
c:\projects\jaxrpc
copy your example
<JWSDP>/docs/tutorial/examples/jaxrpc/hello to
c:\projects\jaxrpc
you may need to remove \build and \dist from the
example if you have already tried the example
copy your example
<JWSDP>/docs/tutorial/examples/jaxrpc/common to
c:\projects\jaxrpc
Now the example will run correctly but only the war
file is created in your original tutorial location.
Now modify tut-root in
c:\projects\jaxrpc\common\build.properties to
tut-root=C:\\projects
and modify the war-path in \hello\build.properties to
point to
war-path=${tut-root}/jaxrpc/${example}/dist/${deployabl
-war}
If anything fails first check the paths through
<YOUR_path>\hello>ant debug
If there is problem post details where it is failing.
Ri am trying this method. i will tell you when it is done. thank you. -
Hey BC Gurus....
Question. I have a client who I am redesign their site and on their current website they have a resources section for people to download whitepaper etc.
Now they want to replicate the way that they currently have these set out... The process is as follows:
1. click the link on the page
2. re-direct the link to a webform to capture individuals details
3. submit and then re-direct to thank you message
4. specified downloaded file is then sent to your email address as listed on the form.
See the attached process.
Question is... Can this be done? The form and the thank you message is easy, but is the ability to sent the file via email do-able? Given these will be different on each link, but the form will remain the same.
We also only want to fill the form in once so that you don't need to keep filling it in each time...
For site reference check out their current page @:
http://www.welcome-rt.com/resources/
HELP!!!
cheers
ShaneIf you must email the user the download:
Use ecommerce to setup the products as digitial downloads. give them a price of 0.00 and use the "Free" payment method type. Create an account for the user when they fill out the checkout form. Then use appropriate layout/styling/scripting to make sure the whole system does not look and feel like an actual store. May require some finesse, but should not be to difficult.
Much easier though to just create literature items and put them behind a secure zone. Let the user fill out the form which will also subscribe them to the zone, and then they goto a secure page on the site where they can click the download link.
The email part is what makes this complicated. -
Form help needed- creating a PRIORITY FIELD
I cannot figure this out as i have looked all over the
internet to no avail.
I have a 30 question coldfusion flash form.
I would like the user to select their top eight questions by
having a drop menu labeled 1 thru 8 beside each question.
The priority number can only be chosen once.
Help please...zoemayne wrote:
java:26: cannot find symbol
symbol : method add(java.lang.String)
location: class Dictionary
add(toAdd);this is in the dictionary class
generic messageThat's because there is no add(...) method in your Dictionary class: the add(...) method is in your WordList class.
To answer your next question "+how do I add things to my list then?+": Well, you need to create an instance of your WordList class and call the add(...) method on that instance.
Here's an example of instantiating an object and invoking a method on that instance:
Integer i = new Integer(6); // create an instance of Integer
System.out.println(i.toString()); // call it's toString() method and display it on the "stdout" -
I have several forms on my website and I need each to send
the form to two email address, and also send back an auto response
when email is sent out. Also after submit button it says your
request has been submitted and then after about 8 seconds it takes
them back to the home page.
How do I do this? I have the forms done but need help with
the rest above (two emails,auto respond,ect.)
ThanksThere are only two ways to process form data -
1. Use mailto:[email protected] as the action of the form
2. Use a server-side scripting method to a) harvest the
form's data, b)
process it in some manner, e.g., enter it into a database, c)
formulate and
send an email to one or more email recipients, and d)
redirect the visitor
to some ending page
Method 1 is quite simple, and is also the least reliable. It
depends both
on your visitor having an email client already installed on
their computer -
this eliminates public computers, or home users without email
clients
installed (more and more it seems) - and on the installed
email client
responding to
the mailto call. It is not possible to use this method *and*
send the
visitor to a
thank you page as well.
Method 2a is the preferred method, since it eliminates the
problems of
method
1, but it means that you have to grapple with
server-scripting somehow (ASP,
CF, PHP, perl, etc.).
Method 2b would be to use some third-party form processing,
like
http://www.bebosoft.com/products/formstogo/.
You would have to decide which of these methods is best for
your needs,
but if it's Method 2a, then start by asking your host what
they provide for
form
processing. If it's 2b, then read their FAQ/instructions
carefully.
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
==================
"568jfe56nfg" <[email protected]> wrote in
message
news:[email protected]...
>
> I have several forms on my website and I need each to
send the form to
> two
> email address, and also send back an auto response when
email is sent out.
> Also
> after submit button it says your request has been
submitted and then after
> about 8 seconds it takes them back to the home page.
>
> How do I do this? I have the forms done but need help
with the rest above
> (two
> emails,auto respond,ect.)
>
> Thanks
> -
Checkbox in tabular form - help needed
I'm trying to build a tabular form, with a checkbox for a field that can have value 'Y' or 'N'. Adding the checkbox is no problem, with the htmldb_item.checkbox API.
However, processing it is.
On this forum I found a way to process the checkboxes, by looping through all the records (with the help of htmldb_item.hidden in which the id is stored) and reading the value from the checkboxes and updating the column if the checkbox is checked. (see Re: Report with updateable checkbox)
however, as soon as I add a htmldb_item.hidden item, I receive the following error when I submit the tabular form to the Multi Row Update process:
"Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. "
My query:
Select id
,htmldb_item.hidden(1,id)
,htmldb_item.checkbox(2,id, decode(field, 'Y', 'CHECKED', NULL))
from table
What am I doing wrong?
is there a better way to process a tabular form with checkboxes?
Or should I process all the rows manually by updating every record even if it hasn't changed (with a loop through all the records)?Tonnie, did you ever get an answer to this question?
Michael Cunningham -
Dynamic Form Help Needed !!
Hi Guys,
I need a form that has the following how do i code it in
dreamweaver ?
name :
email address :
phone number :
status: item are New, Contacted, Appointment Scheduled, Sold
( This would be a dropdown and depending on what the user chooses
the options below show up )
commission amount (only shows if the status is changed to
"Sold")
Thumbnail Calendar (only shows if Appointment Scheduled is
the status)Depends on what sort of server side processing you're going
to be using for
your dynamic form...
Do you have that info??
"NYCKIDDbx" <[email protected]> wrote in
message
news:fmip1k$rhv$[email protected]..
> Hi Guys,
>
> I need a form that has the following :
>
> name :
> email address :
> phone number :
> status: item are New, Contacted, Appointment Scheduled,
Sold ( This would
> be a
> dropdown and depending on what the user chooses the
options below show
> up )
> commission amount (only shows if the status is changed
to "Sold")
> Thumbnail Calendar (only shows if Appointment Scheduled
is the
> status)
> -
EPMA web service help needed (9.3.1.5)
I'm having issues when trying to utilize the backend EPMA web services. What I'm attempting to do is write a java app that can hit the EPMA services to authenticate, upload a flat file, then run a flat file import using a rule on the server.
I'm currently able to authenticate and able to upload, but my call to the Imports.asmx web service to startFlatFileImportJob() is returning the following exception:
Server was unable to process request. ---> Unable to find assembly 'data_access_layer, Version=9.3.2771.29149, Culture=neutral, PublicKeyToken=null'.
(stack dump below).
Are there any web service experts out there who can help me out with this? I'm writing Java in Eclipse on JRE 1.5.0_18. (code below)
Sorry about the markup - couldn't figure out how to turn it off...
Thanks,
Jon
================== Stack Trace ====================
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Server was unable to process request. ---> Unable to find assembly 'data_access_layer, Version=9.3.2771.29149, Culture=neutral, PublicKeyToken=null'.
faultActor:
faultNode:
faultDetail:
{}StackTrace:
Server stack trace:
at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryResponseMessage(Stream inputStream, IMethodCallMessage reqMsg, Boolean bStrictBinding)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Hyperion.DimensionServer.Interface.IImports.StartFlatFileImportJob(ApplicationLocator locator, Int32 importID, String fileReference, String[] additionalParams)
at Hyperion.DimensionServer.WebServices.Imports.StartFlatFileImportJob(ApplicationLocator locator, Int32 importID, String fileReference, String[] additionalParams)
Server was unable to process request. ---> Unable to find assembly 'data_access_layer, Version=9.3.2771.29149, Culture=neutral, PublicKeyToken=null'.
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.hyperion.bpma.ImportsSoapStub.startFlatFileImportJob(ImportsSoapStub.java:987)
at com.hyperion.bpma.ImportsSoapProxy.startFlatFileImportJob(ImportsSoapProxy.java:74)
at com.mycompany.hyperion.serviceTest.css.Authenticator.RunImport(Authenticator.java:92)
at com.mycompany.hyperion.serviceTest.css.Authenticator.main(Authenticator.java:50)
================== Stack Trace ====================
==================== Code ======================
package com.mycompany.hyperion.serviceTest.css;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.Map;
import java.io.*;
import com.hyperion.css.CSSAPIIF;
import com.hyperion.css.CSSException;
import com.hyperion.css.CSSSystem;
import com.hyperion.css.common.CSSUserIF;
import com.hyperion.bpma.LibrariesSoapProxy;
import com.hyperion.bpma.SessionsSoapProxy;
import com.hyperion.bpma.ImportsSoapProxy;
import com.hyperion.bpma.UtilitiesSoapProxy;
import com.hyperion.bpma.datatypes.ImportProfileInfo;
import com.hyperion.bpma.datatypes.ImportType;
import com.hyperion.bpma.datatypes.Library;
import com.hyperion.bpma.datatypes.SessionInfo;
import com.mycompany.hyperion.serviceTest.css.testApp;
public class Authenticator{
private static Map context;
private static CSSSystem system;
private static CSSAPIIF css;
private static testApp myApp;
private static CSSUserIF _user;
private static String _userName;
private static String _pw;
private static ImportsSoapProxy _importService = new ImportsSoapProxy();
private static SessionsSoapProxy _sessionService = new SessionsSoapProxy();
private static UtilitiesSoapProxy _utilService = new UtilitiesSoapProxy();
private static LibrariesSoapProxy _libService = new LibrariesSoapProxy();
private static SessionInfo _session;
private static Library _masterLibrary;
private static com.hyperion.bpma.datatypes.ApplicationLocator _appLoc;
private static int _importID = -1;
private static String _filePath;
private static String _importProfileName;
public static void main(String[] args)
if(ValidateArgs(args))
try{
Authenticate();
SetMasterLib();
LocateImportID();
RunImport();
catch(Exception e){
System.out.println(e.getLocalizedMessage());
else
PrintUsage();
private static void LocateImportID() throws RemoteException {
ImportType[] temp = new ImportType[]{ImportType.FlatFile};
ImportProfileInfo[] impInfo = _importService.enumImportProfileInfos(_session.getSessionID(), temp);
for(int i=0;i<impInfo.length;i++){
if(impInfo.getName()==_importProfileName)
_importID = impInfo[i].getImportID();
private static void SetMasterLib() throws RemoteException {
_masterLibrary = _libService.getMasterLibrary(_session.getSessionID());
private static void Authenticate() throws CSSException, RemoteException{
system = CSSSystem.getInstance();
css = system.getCSSAPI();
myApp = new testApp();
context = new HashMap();
context.put(CSSAPIIF.LOGIN_NAME,_userName);
context.put(CSSAPIIF.PASSWORD,_pw);
css.initialize(myApp);
_user = css.authenticate(context);
_session = _sessionService.createSessionFromToken(_user.getToken());
private static void RunImport() throws IOException{
String fileHandle = UploadFile(_filePath);
_appLoc = new com.hyperion.bpma.datatypes.ApplicationLocator();
_appLoc.setSessionID(_session.getSessionID());
_appLoc.setLibraryID(_masterLibrary.getLibraryID());
_importService.startFlatFileImportJob(_appLoc, _importID, fileHandle, new String[]{});
private static String UploadFile(String filePath) throws IOException
String fileRef = _utilService.startFileUpload(_session.getSessionID(), filePath.substring(filePath.lastIndexOf("\\")+1));
File f = new File(filePath);
InputStream fis = new FileInputStream(f);
byte[] buffer = new byte[(int) f.length()];
int offset = 0;
int numRead = 0;
while (offset < buffer.length && (numRead=fis.read(buffer, offset, buffer.length-offset)) >= 0)
offset += numRead;
if (offset < buffer.length)
throw new IOException("Could not completely read file " + f.getName());
fis.close();
_utilService.transfer(_session.getSessionID(), fileRef, 0, buffer.length, buffer);
String fileHandle = _utilService.endTransfer(_session.getSessionID(), fileRef, false);
return fileHandle;
private static boolean ValidateArgs(String[] args){
try{
if(args.length % 2 != 0)
throw new Exception("\nERROR: Invalid number of arguments exception...");
for(int i=0;i<args.length-1;i=i+2){
if(args[i].charAt(0) == '-'){
switch(args[i].charAt(1)){
case 'u':
_userName = args[i+1];
break;
case 'p':
_pw = args[i+1];
break;
case 'n':
_importProfileName = args[i+1];
break;
case 'f':
_filePath = args[i+1];
break;
default:
throw new Exception("\nERROR: Bad flag/argument exception...");
else
throw new Exception("\nERROR: Bad argument format exception...");
if((_userName == null) || (_pw == null) || (_importProfileName == null) || (_filePath == null))
throw new Exception("\nERROR: Mandatory argument not passed...");
catch(Exception e){
System.out.println(e.getMessage());
return false;
return true;
private static void PrintUsage(){
System.out.println("\nUSAGE: java -jar test.jar [options]\n");
System.out.println("Flag Option");
System.out.println("===========================================================================================================================");
System.out.println("-u (required) Username to authenticate as");
System.out.println("-p (required) Password for authentication");
System.out.println("Arguments must be passed in a \"-flag argument\" paired format (ie - not \"test.jar -up arg1 arg2...\")" + System.getProperty("line.separator") + System.getProperty("line.separator"));
==================== Code ======================Figured it out on my own
-
Hello Everybody
Here is my requirement.
I am creating a XML form that will be set up with a approval workflow. My form has a combo box with several entries and whenever the user selects something from this box the approver should be changed accordingly.
One more requirement is I should show this approver in the form.
Can somebody please help me. I have seen the propeties in the XML form but not getting any clue on how to use them.
Any help will be greatly appreciated.
Thanks
RenuRenuka,
In KM you can use layout set in order define something such as: command groups by files, folders and links. Also you can define your layout controller, which columms you want to display, number of rows so on. Please, read about layout set, collection renderer and resource renderer.
After, you can assign this layout to your folder or iview.
Therefore when you open your form from this iview, you can use botton defined in this layout.
As you can see by default there are two layout defined for news:
NewsBrowser
NewsExplorer
Try to analyze it.
Patricio.
Message was edited by: Patricio Garcia -
Hi there,
I have created a form in Adobe LiveCycle Designer 7.0 so that clients can fill in their answers and send back. I included the Submit button, however when I did a trial run with the form, it returned in .xml format which wont open in Internet Explorer. Can anyone guide me on how I can have the submitted forms returned in PDF form or if I need to do something with Internet Explorer to be able to access the .xml docs?
Thank you!
AmyIf you want to use the .xml file, open the original pdf and import the file in to it then save under another name.
You CAN enable the file so that people using Reader can fill it out, save it then email the entire form back to you but there are limts to it's use. You can either send the form to 500 people and collect an unlimited amount of responses or you can send it to an unlimited amount of people and collect 500 responses. Anything over that amount will be in violation of your license.
To enable the file in Acrobat, you would find the option under Advanced>Enable usage rights in Adobe Reader (at least that's the verbiage in Acrobat 8 Pro). I'm not sure exactly where that option is in LiveCycle Designer but it's probably similar. -
hi
i am developing a portal form based on a table with 3 coloumns(comment, sender and date). the form has a taxt box in which the user is supposed to enter the comment, and a "Send" button. the event handler for the button looks liek this:
declare name varchar2(60);
comment_text varchar2(2000);
begin
ime:=wwctx_api.get_user;
comment_text:=p_session.get_value_as_varchar2(p_block_name=>'DEFAULT',p_attribute_name=>'comment');
insert into poraki values (comment_text, name, sysdate);
end;
but when i press the "send" button, this is what i get:
Error: (WWV-00000)
can anyone please help?hi
i've amde some mistakes while typing the previous message, so here is the right one:
i am developing a portal form based on a table with 3 coloumns(comment, sender and date). the form has a taxt box in which the user is supposed to enter the comment, and a "Send" button. the event handler for the button looks like this:
declare name varchar2(60);
comment_text varchar2(2000);
begin
name:=wwctx_api.get_user;
sodrzina:=p_session.get_value_as_varchar2(p_block_name=>'DEFAULT',p_attribute_name=>'comment');
insert into poraki values (comment_text, name, sysdate);
end;
but when i press the "send" button, this is what i get:
Error: (WWV-00000)
can anyone please help? -
Form help needed, please
Could someone please help me with this form? For some reason,
it just won't send.
I've included the FLA, SWF and ASP files located here:
www.d-mag.org/testform/sent_out.zipHi Paul,
I presume that you are using the desktop version of Acrobat Pro to author the form.
I will move this discussion to the PDF Forms forum so that the experts in the forum can answer your question.
Please note that the Reader/Acrobat DC mobile apps (for iOS, Android, Windows Phone, etc.) have limited JavaScript support.
JavaScript for Reader Mobile API Reference (iOS)
You may be able to make the form work as you want in the desktop version of Adobe Reader/Acrobat Reader DC. However, some functionality (e.g adding a sequence number to each PDF) will not work in the mobile apps due to the limited JavaScript support. Sorry for the inconvenience.
Maybe you are looking for
-
Why is my bootcamp software download so slow
Hi everyone, Lately I have had some problems while playing games on bootcamp 4 (windows 7 64 bits) so I wanted to update bootcamp to the latest software which is 5.1.5621 but here is the problem, the download is very slow (5ko/sec). I guess that's no
-
Vendor bal.in foreign curr. std. report
hiii.. tell me the std.report t.codefor get vendor bal. in foreign curr. thnaks Rekha sharma
-
Use of Friend class in Class builder
HI Can someone tell me how to use a friend class In class Builder SRidhar
-
Flex Charts: Will they improve?
Hello! I'm trying to make some minimalistic charts for some ultimate PDF business plans and annual reports. I did them in Illustrator first, but Illustrator's graph tool hasn't been developed on since 1996, and it was a real pain to update my charts
-
I don;t seem to be able to go out of this cisco login in