I'm trying to find a way to open PDF files directly from its location. I know I can use this to open files.
import pdf from './file.pdf
Open Pdf
But this is not going to work for me, I'm building an item list app with React and Node for a small company I work for, and every new item needs to have a certificate that is in PDF. User needs to be able to add PDF file when creating a new item and open it when needed. They want the app to be live on the internet, but all certificates to be on their local server, so only people that are connected to their network can see them. Is this possible to do?
I was thinking just to save the path to pdf file in the database and then use that path to display it in app. Something like this.
Open certificate
But I can't make it work right now, even when the file is in the same folder as my app.
you can use require function.
Open certificate
Related
Need help to implement one requirement. i am working on node.js application and want to open different types documents e.g. pdf, word, xls etc in browser. also once document is open in viewer, user should be able to add some comments and freehand writing on it and save it in some format.
My Question:
There are hundreds of unique URLs from where I have to download the zip file after clicking on the download icon. Is there any way to automate this process.
My process:
Open the unique web page URL,
Download icons appears.
Click on download icon to download the file.
Same process for rest of the pages.
Notes:
Each zip file has the different name.
Files are hosted in the secured server.
No access to directory folder.
Download icon position changes on every page.
Any chrome extension or fire fox ad don to solve this repeated task? Appreciate your help.
If you have download url list, then there are lots of add-ons that will help you download them, like DownThemAll
But if you do not have download url list, you will need to have a custom extension solution. Because, first extension needs to connect your server and retrieve download url before downloading the actual file. There needs to be Regular Expression difficulties which enforces custom extension solution.
I have created templates for a company's website that I am working on. I have three different folder each folder containing different styles. I am trying to find a tool where I can put the files on, and then send a link or whatever to my client so that he can see the templates that I have created. Is there any tool out there where I can do this..? Besides a flashdrive...
Try Dropbox. You can either create a folder and "share" it, or just send a link via email to the folder to the client.
I have the following problem:
I have a process in SSIS and it generates .cube files and saves the files in Sharepoint folders.
I have users that open the files in excel. Some can see the data in the files and other can not see anything.
There is one user who opens the file on a computer on the company network and can not see the data in the .cube file, but if the same user opens the same file on a personal computer the user can see the data in the file.
Can someone help me?
There are a couple of possibilities here. First off, Excel has something called Trusted Locations. If a file is on a network share, you may need to add that share as a Trusted Location. Check the Excel backstage (or look for a video on Youtube about Trusted Locations) for more info.
Secondly, once the file is downloaded, do the properties of the file show the 'Unblock' button? They shouldn't for a typical intranet setup but there could be something unusual about your particular environment.
I am new to Jsp. I am developing the tool for testing usage, and have succeeded to open the excel file in the browser from the jsp application. However, i am not able to modify or edit the opened excel sheet.
Please help how to modify the excel in the browser.
You cannot do this when displaying the file inline in a browser or doing a 'Open file' when getting a download popup. Simply because the file is then copied into client's disk file system. If you save the edits, it's saved in the same copy on the client's disk file system. This does not affect the original file in the server side in any way.
There are basically 2 ways to achieve your requirement:
Let client download a copy of the excel file and store it in the client side disk file system, so that the client can edit and save it locally. Give the client the possibility to upload the edited file back. In the server side just replace/backup the original file.
Use HTML forms the smart way to mimic an Excel sheet and use a Java Excel API (Apache POI, JExcelAPI, etc) to map between this data and the actual Excel file which is stored in the server side disk file system.
Have you looked at JExcel?
The FAQs also explain how to use the API with jsp.