I'm trying to add the ability to upload order lines into "Mycart" on the customer portal via excel or csv. I customized the screen and set AllowUpload to True. The button shows up on the grid, but throws an error as soon as I choose a file and click the upload button on the little file upload screen. The error I get is "Error during file upload: Error #103: View DocumentDetails $ImportContentBag doesn't exist."
It appears that this form hasn't been set up for File upload. Is it possible to create this capacity. Thanks in advance for help
You need the [PXImport] attribute on the View defnition in your BLC.
Related
We have recently changed our system to include a supplemental document within our DocuSign envelope (previously we only had a single document in each envelope).
During testing it became clear that after clicking on the ‘view’ button next to the supplemental document, the majority of our users where unable to figure out how to then close the supplemental document in order to return to the main contract.
ie: they couldn’t figure out that they needed to click the ‘x’ in the top right corner. Upon questioning it became clear they couldn't appreciate that the supplemental document was being displayed as a modal window overlaying the form.
As a result we decided to set the supplemental file to display in a new browser window instead of a modal dialog.
The documentation (found under “envelopeDocument”) on https://docs.docusign.com/esign/restapi/Envelopes/EnvelopeDocuments/list/ suggests this can be done by simply changing the “display” parameter from “modal” to “download”
However when I do this, I get the following error:
Error calling CreateEnvelope: {
"errorCode": "INVALID_REQUEST_PARAMETER",
"message": "The request contained at least one invalid parameter. The value 'download' for display, is invalid for document with id= 2"
}
Does anyone know if this is the right approach? Is there something else I need to do in order to get this to work?
Try using below, it should open the supplemental doc in a new browser window
"display": "collapsible"
download value is not supported.
I have multiple Content apps (Office Add-ins) in a PowerPoint presentation. The apps need to be converted to image before distributing the presentation to the wider audience group. I know the way to do this is by clicking 'Show as Saved Image' menu in the context menu of the app. But with multiple apps in the document, this is a very tedious process as this will have to be done repeatedly and manually on each Content app. Is there a solution to implement 'show as saved image' on all Content apps in the document in a single step / click?
Desperately looking for a solution! Thanks for any help!
Yes:
Save the file
File > Inspect Presentation/Check for Issues > Inspect Document
Deselect everything except "Content Add-ins"
Inspect
Replace All
Now all the content add-ins are replaced by their images permanently.
My CRM is configured in outlook , and i need to add File attachment in campaign form , I tried Customize->Form... But i cant find File attachment in Field Explorer..
So how to add this, as shown in image...
thanks.
In CRM Dynamics 2011 there is no control for file explorer. You have to add a control like that through a Webresource (HTML5 or Silverlight) or Iframe that points for an aspx page.
Your screen shot looks like a custom development that isnt a standard control. That said you will probably achieve what you want by just adding the notes grid to your form. A note can have attachments and has a standard file explorer.
Go back into customising the form, click the insert tab on the ribbon, click notes.
It’s not that hard to knock something up in Silverlight. The annotation entity is just a normal entity and can be written to just like any other. Here is a screen shot of it integrated into a normal CRM form. The control allows you to drag and drop files or click the upload button to be presented with a file dialog box
Oh and one last helper point, the document is stored in the attribute “DocumentBody” as a base64 encoded string. You can then read that and convert it into a byte array to save to disk etc
I am sure this is related to my question here
Null value for fileData:com.ibm.xsp.http.UploadedFile in dialog box?
Which I am still not 100% clear why the file upload control does not work directly in an extension pages dialog box.
But anyway I came up with my own solution using the file update control inside of a hidden panel. I need to set the button that uses the control to full update.
I have a button does an import of data. The button gets the file via a file upload control. This data is displayed in a view on the xpage.
The view is not being updated even though the Import button has Full Update. I am guessing that the full update actually get executed before the import actually completes?
Is there anyway to update my view after the import completes?
My understanding is that a File Upload requires a full refresh of the XPage to push the file up to the temporary folder on the server. At this point, the attachment is just stored in that temporary folder. It's not stored in the NSF. A subsequent function needs to be run to save that to a document.
Is your button doing the upload of the file to the temporary folder, or is it saving a Notes Document / directly accessing the temporary file and processing it via the back-end? If it's just performing the upload, the view won't upload.
The other thing I've come across is View Panels not immediately updating with new documents that have been created. In that scenario, a repeat control bound to NotesView.getDocumentsByKey() did immediately update.
I solved the issue by causing the button that uploads the file to display an extension pages dialog box. This dialog box has an OK button to close the message box but also refreshes the required part of the form.
Background: One xpage bound to document1. On this xpages is a tabbed table contain several tabs. Each tab contains an panel bound to other data sources incl document2. Document2 is created and made a child of document1. In each panel is a table to allow the user to create the new document, as well as two view controls. Everything works beautifully...until...
Problem: I was asked to add a way to upload an attachment to the child document. I first created an rich text field on the bound document called "ScannedInvoice". I then create a File Upload Control from the core controls and bound it to document2/ScannedInvoice. By rule, I only want a single attachment, otherwise I would consider the openNTF upload control.
I cannot figure out why nothing appears on the back end when I upload a file and create a new document. Everything else works, but there is no attachment in the ScannedInvoice field and also no $FILE fields attached to the document either.
Thanks in advance for any tips. I have searched quite a bit and have not found any answers. - Steve
<xp:fileUpload id="fileUpload1"
value="#{document2.ScannedInvoice}" useUploadname="false"
style="font-size:8pt" filename="scannedinvoice.jpg"
mimetype="image/jpeg">
</xp:fileUpload>
Note: The field ScannedInvoice on the Invoice form is rich text.
Code to save button: document2.save()
Document2 has scope=request and ignoreRequestParam=true. Both of these have to be set like this in order to work. parentID=# document1.getNoteID()
a file upload needs a full refresh of the page to be able to upload the file. Make sure that you are doing that.
======================================
Update Domino 9.0.1 supports partial refresh uploads