Viewing pdf file with TallComponents Web PdfViewer from orginal folder - pdfviewer

i using TallComponents Web PdfViewer to viewing pdf file inside asp.net page
but all pdf file must be in some folder (called "basePath") and when i viewed them from other location it's copy to base path and viewed from here !
please help me how can view pdf file from original location ?

You can fix it by yourself because this project is in opensourse area codeplex link.
Check the FileSystemStorageProvider.cs

Related

Cannot delete a document in SharePoint Library which is not checked out neither opened for editing?

I am trying to delete a file in SharePoint 2013 Library.
The file is not checked out to anyone and I am the site collection administrator of the site.
when I open the folder using explorer view, it is blank.
When I open it using SharePoint designer then it says
SERVER ERROR: CANNOT REMOVE THE FILE. ERROR CODE:2.
Could you delete the file through the SharePoint document library UI?
Whether the file has unique permission? How many characters does the name of this file have?
Please check whether the file is published and approved.
Try to create a new file on your computer with the same file name and extension and then upload it to the same document library then delete it.

Open a file directly in Teams from a tab

I have deployed a SharePoint webpart (SharePoint Framework) to Microsoft Teams. In this web part, I have a list of files that I want to open directly in Teams.
I have tried to get the link from the "Files" tab (https://teams.microsoft.com/l/file/7FFA7D9D-CBF1-4679-9C80-76446AE11ABD?tenantId=0f48c6f4-52a5-4553-b476-4ee2ee0aecca&fileType=docx&objectUrl=https%3A%2F%2Fxyz.sharepoint.com%2Fsites%2FAZRTZ%2FShared%20Documents%2FGeneral%2FArchitecture%2FTest.docx&baseUrl=https%3A%2F%2Fxyz.sharepoint.com%2Fsites%2FAZRTZ&serviceName=teams&threadId=19:0d1f6f397c51421189e791a9ab436a48#thread.skype&groupId=98edc5a8-02ac-4f58-8638-ea88ac6aaa4d) and put it in the href="" of the link. It does not work, it opens the file in the browser.
I also tried to put the direct link in the href (https://xyz.sharepoint.com/sites/AZRTZ/Shared Documents/General/Architecture/Test.docx). It downloads a copy of the file in the browser.
I want to open the file directly into Teams, the same way the files are opened if the user goes to the "Files" tab (eg. if the user opens a .doc file, Word Online in Teams must open, if the user opens an image, a previsualisation in Teams must be opened, ...)
Succeed with a shorter version of the Deep Link syntax myself, in a message card from an incoming webhook connector, provided I used the OpenUri action syntax and not a plain markdown link:
https://teams.microsoft.com/l/file/?fileType=<extension>&objectUrl=<absoluteUrl>
this was linking to Sharepoint files.
Using the Deep link I managed to open the file directly in Teams. I had to format the URL :
https://teams.microsoft.com/l/file/{file-id}
?tenantId={tenant-id}
&fileType={file-type (jpg, xlsx, docx, ...)}
&objectUrl={file-encoded-link (SharePoint link, aboslute URL)}

Where can I see the generated class file for my java source code in Domino Designer?

After creating a new java class and saving it(built automatically) in Domino Designer, I was not able to see the the correspondingly generated .class file in the default path WebContent\WEB-INF\classes.
Actually I was unable to find this folder in Java perspective under Package Explorer window.
Anybody knows how can I see these class files?
Thanks a lot!
PS: I uploaded the image about the Project Explorer view, but there are only .jar files shown there and all the folders can not be unfolded.
Open the Navigator view in Domino Designer. You can add it with menu "Windows / Show Eclipse Views / Navigator".
You can find all generated class files in folder "WebContent/WEB-INF/classes" then.
You can find them in the Project Explorer view, but you'll need to click on the Menu icon at the top of the Project Explorer view and remove the filter that hides .class files. Then they will be visible.
I'm not sure of the use case for viewing them. They can't really be viewed, they're compiled from the Java classes in the Local source folder on a build and get cleared by a clean. They're not of any use outside Domino. And any changes to an XPage overwrites any amendments made directly in the Local folder, which will also overwrite any the source files.

Self Contained KMZ with Photos

Originally I created my KMZ file in ArcGIS 10.1 which included a latitude/longitude for some potential reclamation sites. In the end I have a a KMZ file when each placemark is clicked it pops up a information box that has a site description and a photo. The photos are currently stored online, I would like to get this KMZ file to contain the photos to make it easier for my web map to get published which uses ESRI's Javascript API to access the KMZ file. I have unzipped the KMZ file and attempted to change the absolute URL of the image to just the file name since all of the files are stored in the same directory. I then selected the KML file, the photo I tested this on, and my icon and zipped them, changed the file type from ZIP to KMZ and it does not work.
In the last step, try leaving them unzipped so the KML can access the image urls directly. The website accesses the KML and the KML points to the photo urls.

Sharepoint document library file type and click events

I have a sharepoint document library where users upload files.
The allitems.aspx (the standard view) doesn't show correct icon for PDF and other files. Why is it so?
Also when users click on the document it doesn't open the file. For example clicking on a PDF document doesn't open using Acrobat reader even though it is installed on the server.
I even checked the file association by going to IE->Tools->Internet options->Set programs. The PDF is associated to acrobat reader.
Is there any other place to check?
Another issue is with the JPEG file. Within allitems.aspx it shows the image icon but when I click it tries to open using IE (which is fine) but doesn't load the image.
Are there any other settings? Please suggest. thanks.

Resources