I am trying to create upload and download the files option by user from front-end created in OPENCMS 9. Could you please suggest/help me to get the solution as how to approach or any predefined modules available for the same.
I have already serached for the same and got some module "Synyx NetbeansOpenCmsUpload Module" but couldn't able to download this. Please suggest.
Take a look to the jLAN Function of OpenCms:
http://documentation.opencms.org/opencms-documentation/more-opencms-features/mounting-the-vfs/network-share-access/index.html
Related
Started using Azure data studio and creating documentation for some SQL processes in our system.
As part of that I need to include a flow diagram in the document. Currently I have uploaded an image to a URL and am able to embed the image in document from the URL.
But is there any way to include an image from a local folder? Please assist.
I think this is what you want.
from IPython.display import Image
Image(filename='C:/your_path/your_image.PNG',width=200, height=100)
I was interested in this also. Syntax should be (if you store images in subfolder relative to notebook):
![ssms_subquery](images/16_ssms_subquery.png)
This didn't work for me initially: rendered as a broken image icon.
Things I tried:
Make sure you have a workspace defined for your root folder. Create the folder, then select "File > Add Folder to Workspace ..."
If that does nothing, try closing and restarting ADS. I've found the rendering to be flaky from time to time after awhile or if you have been opening/closing notebooks a lot.
Related topic has been discussed previously for markdown in general (but worth asking again for ADS!), eg. How to display local image in markdown
I want to resize some images present on Google Drive thanks to a Google script. How can I do that ?
Thanks !
Unfortunately, there is no native method to do this using Apps Script.
But luckily, you can do this fairly easily thanks to this external library. As explained in the provided link, once you import it, you can access its methods with ImgApp.
One of those methods, doResize(), is what you're looking for. But please be aware of the limitations associated with this method.
I hope this is of any help.
i tried following the steps mentioned "https://github.com/watson-developer-cloud/document-conversion-nodejs" and is able to load the app which works well with sample pdf file.
But when i try using my pdf file it throws error "Missing required parameters:
either params.file or params.document_id must be specified"
Also in the above mentioned git hub link the step 7 is not clear, it mentions run node setup.js but i am not able to find out that file.
has anybody faced this kind of issue.Kindly reply.
Thanks for pointing out the confusing step 7 in the document-conversion-nodejs repo. That's not a valid step and I've submitted a pull request to remove it.
You should be able to change the sample files with your own, if this is what you are trying to do. I would need to see some of your code to maybe figure out what is going on with it.
There is an alternative repository [watson-developer-cloud/node-sdk] that you also can use to create your NodeJS application. It also has an example (examples/document_conversion.v1.js) on how to run the service.
Besides entering your service credentials, all you need to do is place the document you want to convert in the "resources" folder and point to it in this line:
fs.createReadStream(__dirname + '/resources/YOUR_DOCUMENT')
The tutorial and the API documentation could also be of help.
i am making the MAF application for practice but in this application am giving the functionality of upload and download files from server and but input file component is not giving in the ORACLE MAF and am successfully done the upload button but i am not know how to add input select file component in the MAF. please
help me .
thank you
please answer this question...
For download, you can use this tag into an amx page :
<amx:goLink text="Download" id="bla" url="http://www.yourservlet.com/download"/>
For the upload functionality, I am not sure if that works somehow. Try to follow up this question of the Oracle Community to find out more about the upload functionality.
Hope to be helpful.
Thanks.
I have a website which contains some data and some hyperlinks to view the pdf documents. I have to create a application which can download that file using scraping and store it internally. How is it possible to achieve this?
Any help is appreciated in advance...
You can use any scraping library to do with that. Get the file url and download it.
Mechanize is an example