I have a form with a checkbox control with 5 choices (non-exclusive). I have a PDF template configured according to the Orbeon documentation; the field is named correctly and export value set to true. I have verified this using the PDF button:
However when I use the Send button, the attached PDF I get does not have the required checkbox checked:
Here is my Send button properties :
<property as="xs:string" name="oxf.fr.detail.process.send.Neige.FLAH9-10">
require-valid
then email
then save
then success-message("save-success")
recover error-message("database-error")
</property>
Is it possible that the way the PDF is generated using the PDF button is different that when I use my own Send button? Is there a way to fix this on my end or is this a bug?
Related
I am using the multiple file attachment from openntf but it seems it's a problem when on the same page it is a validation on a field (a required field).
When I click the button to upload the files, I get the error message on the validation field.
Question: How can I have some kind of "Process data without validation" on the file uploader? How can I do this with Javascript?
You have two possibilities to upload files without getting validation error:
Don't include fields with validation into the partial refresh area set by xc:ynUploadFilesHTML5's parameter refreshID
Select "Process data without validation" in custom control ynUploadFilesHTML5's button "refresh"
I am using ng:Disabled directive for disabling my submit button. Its working fine its not enabling until all the required input fields are getting filled, but when I am inspecting the element using Google chrome firebug console and manually delete the disabled attribute from submit button then its get "Enabled" and form is submitted. So my question is that how to handle this type of problem. There are any option to checking validate from controller and enable/disable submit button from controller.
Please give me some suggestion for this.
Basically I am referring this url: http://docs.angularjs.org/api/ng.directive:ngDisabled
Ensure your form doesn't have an action attribute, and hook up
the ng-submit
directive of the form element or the
ng-click
directive on the first button or input field of type submit.
See form for more details.
From that event handler you can perform additional validations and send form only if validation is OK or show an error otherwise.
I am using Uploadify uploader for my form submission which include some other text field. I set the auto upload to 'false' so that I could trigger the upload process of all the files user have chosen when the form submit button is clicked which would submit both the files and data in the text field to my DB.
But I couldn't figure that out. please help me on this.
Can any one help me to create a ribbon button dynamically in CRM 2011. The scenario is, when we create a record, one ribbon button has to be created dynamically based the optionset value selected in that record. Can we get it work using JScript or Plug-in or Workflow? Enable or Display rules are not useful here and should not touch XML code.
Quick principle: Ribbon Buttons are not a part the record, they are a part of the UI. You can make the UI change based on the record you are looking. Therefore you cannot 'add' a button to a record. You can add a button to an entity form.
Plugins definetly wont work here, they peform logic on the 'back-end'. JavaScript might work but I would expect this to be quite awkward. What you should do is edit the ribbon Xml. Now there is an excellent for editing the ribbon: Ribbon Workbench, this tool make it significantly easier to
edit the ribbon (this is editing the XML but this is the way its meant to be done).
Then I think you will need to
Create a ribbon button for each action.
Then follow this tutorial to enable and disable them: Enable/Disable a ribbon button dynamically based on a form value.
Using a display rule would be the right way to do this.
Create multiple buttons and set their display rule when selected option is equal
to the button's name.
We can get it done by two ways-
Through plug-in:(Note: It won't works in Sandbox mode and consume some time.)
Create one solution and add specified entity to it. Go through the source code here
Export this solution to Temp folder and unzip it.
Edit customizations.xml file to add our own RibbondiffXml tag.
Zip all the XML files and Import it to CRM.
Publish the Customization.
Through XML edit:
Export Application Ribbon, update XML to add button and replace entity name with {!EntityLogicalName} in all the places.
Ex: <CustomAction Id="New.{!EntityLogicalName}.MyButton.CustomAction" Location="Mscrm.HomepageGrid.{!EntityLogicalName}.MainTab.Management.Controls._children" Sequence="70">...
Add EnableRule to enable this button only if Config record exist for current entity.
<EnableRule Id="New.{!EntityLogicalName}.MyButton.Check">
<CustomRule FunctionName="checkConfigRecord" Library="$webresource:new_/Scripts/ValidateConfigRecords.js">
<CrmParameter Value="SelectedEntityTypeName" />
</CustomRule>
</EnableRule>
Create one JavaScript library with name new_/Scripts/ValidateConfigRecords.js which contains function checkConfigRecord which counts config records exists for particular entity. If count is greater than 1 return true. Otherwise false.
Import the ApplicationRibbon Zipped file
I ran into the same problem on Dynamics 365 and found a solution.
RibbonWorkbench includes a feature called "Fly Out Anchor Buttons"
This includes a property called PopulateQueryCommand.
You can use this command to dynamically (using JScript) add menu options to the Anchor Buttons at runtime.
The RibbonWorkbench documentation includes all the information you need to use this feature.
I have not used livecycle before. There are overloads of info on this topic, but I can't find one page or example that explains how to correctly and simply, submit my filled out form to a directory on my webserver.
I have my pdf form created in livecycle ES2. I found good info in many forums, blogs etc and from adobe. But am I missing something thats needed to make this work? (that needs to be installed on the server?). I was under the impression my form could be filled out and submitted/saved to a directory from my site visitors without the use of anything installed on the server. I just want whatever the user fills out in the pdf to be saved to that pdf and saved to the server.
This link was helpful: http://kb2.adobe.com/cps/332/332289.html
but I still am doing something wrong.
Generic buttons
You can set a generic button to be a submit button in the Object >
Field palette. Once you set the button as a submit button, a Submit
tab is available in the Object palette. You can choose the following
formats:
from that info provided - this is the solution I want :
-- PDF: Submits a package containing an embedded PDF file. Choose this format if the form contains a signature field, or if a copy of the
form together with its data needs to be saved by Adobe LiveCycle Forms
or submitted to some other kind of target server. Do not choose this
option if the form initiates server-side processing, if Adobe
LiveCycle Forms will be used to render HTML or dynamic forms at run
time, or if the form is a PDF form that will be filled in Adobe Reader
without the use of Adobe LiveCycle Reader Extensions.
I read additional notes that I need to enable the usage rights which I tried by saving the form from LiveCycle, opening in ACROBAT X PRO and :
extending the rights to the reader, there is no Advanced selection
under tools.
In Adobe Pro X, to get the pdf fillable emailed back to you you must
save the file with the rights extended, and this is found in
File>>Save As>>Reader Extended PDF, and select “Enable Additional
Features.
It will allow the receiver to fill and email or fill and save and
attach to and e-mail.
Has anyone had success with this? and know how to make it work? I created the generic button, edit properties, chose PDF and assigned a URL (the directory to store the saved files) ....what part am I missing?
Last but need least I read other info that said I need a servlet to save...??
You have to create a pdf in pdf designer, place a button. On the button click you can call the webservice as the code below
var cURL = <url to your webservice>;
SOAP.wireDump = false;
var service = SOAP.connect(cURL);
var Input = {'<give the input to your webservice here>'};
var result = service.YourWebMethod(Input);
After dat save the form as Dynamic Xml Form.
the importent part is, you have to 'reader extend' the pdf you have created.