STL file in Web Documents
Hi,
I am able to display 3D files of type STL inside DMS in R/3 and also inside cFolders. But when I try to display using Web Documents I am getting an error. Any setting needs to be done in the backend in order to display 3D files of type stl within Web Documents?
thanks
anantharam
Hi,
not in the standard. But if you want to do a modification, maybe this blog might be a help?
/people/durairaj.athavanraja/blog/2005/09/14/using-ecl-engineering-client-3d-viewer-viewer-in-bsp-application
Best regards,
Martin
Similar Messages
-
When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
== This happened ==
Every time Firefox opened
== I updated to one of the firefox versions (Not sure which one it was)Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.
-
Export to PDF & Print of Webi document with Xcelsius SWF file embedded init
Hi ,
I have embedded an Xcelsius model as HTML in a webi document. It works fine in the Infoview. However, when I export to PDF or print the webi document , the Xcelsius flash component does not show up. I just get a box with the HTML code in it.
Please let me know how to fix this.
Thanks.I agree with kirbot -- Apple includes nice templates that are obviously meant for professional printing in reasonably large quantities. Regardless, there's no good reason I can think of why Pages' PDFs are not truly WYSIWYG in their output. That shadows and other things are not exported as part of the PDF is a really dumb idea on Apple's part.
Just ran into this issue myself and had to ditch all the drop shadows in my brochure in order for the files to work with my online printer.
Glenn -
I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?
The application Acrobat provides no language translation capability.
If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
Transfer the output into a word processing program that is localized to the appropriate language.
Do cleanup.
Be well... -
An user as part of the domain users tries to open an office file from a document library but he got an authentication prompt asking him to authenticate. Domain users has only access to this library and not to the whole site. This uses to work in SharePoint
2007 without any problem but not in SharePoint 2013, we didn't have a workflow on SP2007.
Domain users has read access to only this document library in the site, but he shouldn't get an authentication prompt since he is part of the domain users and he is not trying to modify the document, he can open the document but gets two prompts, he can't
also see the list using explorer view since nothings appears using the explorer view.
Now, when opening the file, we can see..Updating Workflow Status, but we don't have any workflow working on this site or library, event any feature related to workflow.
If we go to the event viewer in the server, we find this information,
I also checked this thread but I couldn't find this scenario.
https://social.technet.microsoft.com/Forums/sharepoint/en-US/91bc770b-bb70-4885-a4ad-a243edb88753/event-id-8026-workflow-soap-getworkflowdataforitem-failed-doc-library-no-workflow?forum=sharepointgeneralprevious
I also created another list with the same permissions and using other office files but got the same behavior.
Now, we have migrated this site from SP2007 to SP2013.
Any ideas?OK, I am going to throw out a lot of ideas here so hopefully they get you closer to a diagnosis. Hang on :)
Does it happen to work for some users but not others? If so, try logging in on the "good" computer with the "bad" username. This will tell you if the problem is related to the end-user's system. Also, once the user downloads a document
successfully can they open and work on it in Word? Also, does the document library have any custom content types associated with it or does it just use 'Document'?
I notice that there are other folks on the web that have run into this same problem and the similarity seems to be that they are either on SharePoint 2007 or have upgraded from 2007. Did this doc library start out as a 2007 library?
What you might want to do is this: Make a site collection from scratch in 2013 (or find one that you know was created in 2013). Choose team site (or whatever you want) for the root web and set up the security the same way you have it on the malfunctioning
library. Now, use windows explorer to copy and paste some of the documents to the new location. Be sure you recreate any needed content types. Now test it from the troubled user's computer.
I'm thinking there may be something that is different about the library since it was migrated through various versions and updates since 2007. I've sometimes found that there can be problems (especially with user profiles but that's a different story) with
things that go through this evolution. -
Upload file in Web Dynpro and add to Workflow container as SOFM object
Hi!
I have a Web Dynpro for ABAP application that should send attachments of uploaded files to a workflow container. I have already managed to do this, and it works fine for TXT files, but when I try to attach a WORD (.DOC) file the file looks corrput when I open it from the SAP inbox.
When uploading files in Web Dynpro it is as an XSTRING. I have tried out the following alternatives regarding convertion of the XSTRING before it is inserted in the SOFM object:
1) Convert from XSTRING to STRING using codepage 4110.
Then it is split into a string table of 255 chars
2) Convert from XSTRING to STRING using codepage 4102
Then it is split into a string table of 255 chars
3) Convert from XSTRING to BINARY format
I use function module 'SWL_SOFM_CREATE_WITH_TABLE'
and then swf_create_object lr_sofm 'SOFM' ls_sofm_key.
before I call some macros to fill the container.
Anyone else who have tried to do this with success? I'm greatful for any help.
Regards, TineHi,
I had the same problem in the last days and finally I got a quite simple solution:
I had a look at the FM SWL_SOFM_CREATE_WITH_TABLE an noticed that it calls another FM (SO_DOCUMENT_INSERT_API1) which has a tables parameter for HEX data and is actually able to create a SOFM object from HEX data.
I simply copied SWL_SOFM_CREATE_WITH_TABLE as a customer FM and applied a few changes to make it accept HEX data:
First I added a new table parameter in the interface which gets the HEX data from the calling application (uploaded data using BIN format):
OBJECT_CONTENT_HEX LIKE SOLIX
Here is the code of the FM (I marked all additional and changed lines with a comment):
function z_test_sofm_create_with_table .
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(NOTE_TITLE) LIKE SODOCCHGI1-OBJ_DESCR OPTIONAL
*" VALUE(DOCUMENT_TYPE) LIKE SOODK-OBJTP DEFAULT SPACE
*" EXPORTING
*" VALUE(SOFM_KEY) LIKE SWOTOBJID-OBJKEY
*" TABLES
*" NOTE_TEXT STRUCTURE SOLISTI1 OPTIONAL
*" OBJECT_CONTENT_HEX STRUCTURE SOLIX OPTIONAL
*" EXCEPTIONS
*" ERROR_SOFM_CREATION
data: region like sofd-folrg.
data: folder_id like soodk.
data: l_folder_id like soobjinfi1-object_id.
data: document_data like sodocchgi1.
data: document_info like sofolenti1.
data: object_content like solisti1 occurs 0 with header line.
data: lines like sy-tabix.
*- set default
if document_type is initial.
document_type = 'RAW'.
endif.
*- create office object
*-- get dark folder
region = 'B'.
call function 'SO_FOLDER_ROOT_ID_GET'
exporting
region = region
importing
folder_id = folder_id
exceptions
communication_failure = 1
owner_not_exist = 2
system_failure = 3
x_error = 4
others = 5.
if sy-subrc ne 0.
message e696(wl) "<== Add message class
raising error_sofm_creation.
endif.
*- get description
if note_title is initial.
read table note_text index 1.
note_title = note_text.
endif.
*-- create office document
document_data-obj_name = 'ATTACHMENT'.
document_data-obj_descr = note_title.
document_data-obj_langu = sy-langu.
object_content[] = note_text[].
describe table object_content lines lines.
document_data-doc_size = ( lines - 1 ) * 255 + strlen( object_content ).
if object_content[] is initial. "<== insert
describe table object_content_hex lines lines. "<== insert
document_data-doc_size = lines * 255. "<== insert
endif. "<== insert
l_folder_id = folder_id.
call function 'SO_DOCUMENT_INSERT_API1'
exporting
folder_id = l_folder_id
document_data = document_data
document_type = document_type
importing
document_info = document_info
tables
object_content = object_content
contents_hex = object_content_hex " <== Insert line
exceptions
folder_not_exist = 1
document_type_not_exist = 2
operation_no_authorization = 3
parameter_error = 4
x_error = 5
enqueue_error = 6
others = 7.
if sy-subrc ne 0.
message e696(wl) "<== Add message class
raising error_sofm_creation.
endif.
*- set export parameter
sofm_key = document_info-doc_id.
endfunction.
The returned SOFM key I added to a container element. The element refers to event parameter of type OBJ_RECORD in my ABAP OO Class
Using this function I was able to raise an event by using Method cl_swf_evt_event=>raise
that invoked a workitem containing an Excel-File i had uploaded as binary file and passed to the FM z_test_sofm_create_with_table as document type 'XLS'.
In the woritem preview when clicking on the attachment the file was opened directly in Excel.
Actually the new lines for calculation the file size is not yet quite correct. At first glance it does not seem to cause any trouble, but I will stll check that. In FM SO_OBJECT_INSERT the size is again checked and calculated if initial, so leaving size initial might also be an option.
I hope this helps anyone having a similar issue.
Greetings,
Michael Gulitz -
Having trouble opening Crystal Report files from a document library
I am trying to open Crystal Report .rpt files from a document library in either the native, client Crystal Reports software or in Crystal Reports Viewer. When I add the Crystal Report files to a document library and attempt to open them SharePoint displays
a prompt asking me to save the file locally instead of opening the file. I have done a lot of research online and found several sites discussing similar scenarios, however, I have not been able to get these solutions to work. Here is a short list of sites
I have referenced for possible solutions:
http://naadydev.blogspot.com/2013/03/crystal-report-viewer-sharepoint-2010.html?showComment=1383339860122
http://social.technet.microsoft.com/Forums/sharepoint/en-US/52aabf2d-10dc-424c-bd50-124fc972a9b9/crystal-report-viewer-integration-with-sharepoint-2010?forum=sharepointgeneralprevious
http://www.codeproject.com/Articles/42731/Crystal-Reports-WebPart-for-SharePoint
Here are the steps I have done to try to get the .rpt files to open:
Added the Crystal Report extension .rpt as a MIME type
Installed the Visual Studio 2012 Crystal Reports Viewer toolbar
Installed the 64-bit Crystal Reports runtime
I have also created a solution file based off the Code Project site which partially works, but not quite right. In this project I have created a document library called "Crystal Reports rpt Files" and deployed the solution file to a site. When
I open the Web Part Maintenance Toolbar I can see the selected .rpt file in the drop-down, but no Crystal Report file is displayed on the page itself.
I am not sure what I am doing wrong. Does anyone have experience working with Crystal Reports and SharePoint 2013 (or earlier versions) that could lend some advice?
Thank you,
AlexWe are having the exact same issue, has anyone resolved this yet?
-
Hi,
We can't open webi documents on BO XI 3.0. We have the following error message :
com.businessobjects.wp.om.OMReportElementContainer
(Error: INF)
But we can open deski documents through infoview.
Any ideas ?We are seeing this error now and it has happened again after restarting the SIA and Tomcat. We will try rebooting whole server tonight.
SAP KB 1326991 suggests:
Cause
The CMSClusterMembers entry in the registry is not updated.
Resolution
WARNING ***********
The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system.
Use the Registry Editor at your own risk. It is strongly recommended that you make a backup copy of the registry files before you edit the registry. For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
Make sure that the CMSClusterMembers entry is updated in the registry. Or you can edit it manually.
The CMSClusterMembers entry can be modified from HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Enterprise\CMSClusterMembers.
Restart Server Intelligence Agent (SIA).
Has anyone tried this - what is meant by 'updating' the registry entry? Updating to what?
thanks
Keith
XI 3.1 SP2 -
Download older version of a file from SharePoint Document Library using CSOM and 404 error
Hi,
I am trying to download previous versions including Major and Minor versions of documents from SharePoint Online using CSOM. I get 404 error when I try to download the file. I found several posts on various discussion forums where people are getting same
error but none of those have any solution/answer. Below is one of the threads and sample code I have tried that results in 404 error. If I use the link in browser directly, I am able to download the file. Also I am able to download the current version of file
using CSOM without any problem, it is only the older versions that give me 404 in CSOM.
http://qandasys.info/how-to-download-the-historical-file-version-content-using-csom/
public int GetStreamFromFile(string docid, string lib, string fileurl, ClientContext clientContext, int iuserid, string Version, bool isCurrrent)
if(!isCurrent)
List LibraryName = clientContext.Web.Lists.GetByTitle(lib);
clientContext.Load(LibraryName);
clientContext.ExecuteQuery();
CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml = "" + fileurl +
Microsoft.SharePoint.Client.ListItemCollection collListItem = LibraryName.GetItems(camlQuery);
clientContext.Load(collListItem, items => items.Include(item => item.Id, item => item["FileLeafRef"], item => item["LinkFilename"],
item => item["FileRef"], item => item["File_x0020_Size"], item => item["DocIcon"], item => item.File.Versions));
//clientContext.Load(collListItem);
clientContext.ExecuteQuery();
foreach (Microsoft.SharePoint.Client.ListItem oListItem in collListItem)
//string fileurl1 = (string)oListItem["FileRef"];
//string filename = (string)oListItem["LinkFilename"];
foreach (FileVersion version in oListItem.File.Versions)
if (Version == version.VersionLabel)
//Added excutequery to get object one more time as per blog
//http://social.technet.microsoft.com/Forums/de-DE/sharepointdevelopmentprevious/thread/88a05256-8694-4e40-863d-6c77512e079b
clientContext.ExecuteQuery();
FileInformation fileInformation = ClientOM.File.OpenBinaryDirect(clientContext,version.Url);
bytesarr = ReadFully(fileInformation.Stream);
DarwaishHi,
According to your description,
I know you want to get older version of a file from SharePoint Document Library using Client Object Model.
The following code snippet for your reference:
public void GetVersions()
ClientContext clientContext = new ClientContext(“http://SPSite”);
Web site = clientContext.Web;
clientContext.Load(site);
clientContext.ExecuteQuery();
File file = site.GetFileByServerRelativeUrl(“/Shared Documents/mydocument.doc”);
clientContext.Load(file);
clientContext.ExecuteQuery();
ListItem currentItem = file.ListItemAllFields;
clientContext.Load(currentItem);
clientContext.ExecuteQuery();
FileVersionCollection versions = file.Versions;
clientContext.Load(versions);
clientContext.ExecuteQuery();
if (versions != null)
foreach(FileVersion _version in versions)
Console.WriteLine(“Version : {0}”,_version.VersionLabel);
More information:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.file.versions.aspx
Best Regards,
Dennis Guo -
I saved web page as html file, but can't open saved file as web page
I did a FILE, SAVE PAGE AS, then chose 'WEB PAGE COMPLETE' - and a directory is created on my hard drive - with the directory name, for example - "c:\....\Ask a Question _ Mozilla Support.htm". (for this web page).
When I try to open the saved web page from Firefox, using FILE, OPEN, I see a new window that looks like a file manager window, I then select that saved .html file and click OPEN, and a new window opens that looks like file manager - displaying with all the files in that directory - "Ask a Question _ Mozilla Support.htm". That is, it does not open and dislpay the web page as I expect it should (that I saved earlier).
However, if I go to the file manager, I can see that directory is saved, and has the Windows Explorer icon associated with the directory "ask a question ....html", and also has a file type of HTML listed. If I double click that directory in file manager, Windows Explorer will open that directory and dis[play it as a web page, as I expected.
I would like to know why Firefox does not open the directory name as a web page from the FILE, OPEN command, but instead shows me the directory contents(all the files in that directory)?
BTW, if I try FILE, OPEN, using Windows Explorer the same thing happens - it opens a new window listing all the files in that directory.
Is this the way the FILE, OPEN is supposed to work?
It seems confusing, because if I am in any other program, for example WinWord, and do a FILE, OPEN command on a Word file, it opens the file as a Word Document - it does not just show the file in a "file manager window.
But when I click FILE, OPEN on an HTML file(directory using Firefox, it does not open that html directory as a web page?I am in the Windows Explorer 'Details' view, and I see the folder with 'Type' of FILE FOLDER. In that folder are all the .js and .css and .png files - as cor-el said.
''But now I also see'' that there is also an htm file - ''with the exact same name ''as the folder, but it has a 'Type' of 'HTML Document'. When I have Firefox do a File, Open on the HTML Document - it does open the web page that I saved and does display it as a web page.
I did not realize that Firefox saves both:
1) a Directory '''(Type 'File Folder') '''''', and,
2) an html file''' (Type 'HTML Document')
... '''and that they are the exact same names! '''
I was clicking on the wrong one! Instead of clicking in the .html file, I was incorrectly clicking on the folder!
(The archive add on looks interesting, but shouldn't I be able to open the saved web page, from the browser, using File, Open File) ? -
Hi
I have a question.
Whenevr a WebI document is refreshed or run manually in InfoView, and saved on the repository, is there a way to get the output file from the server?
Does BO save a copy of the file anywhere on server?
I dont want to schedule the report ans store the output/mail the output. This is a report with prompts and the user needs to change the values each time he/she runs the report and thus cannot be scheduled.
This has to be on a manual basis.
Please help. Please let me know if the question is unclear.
Thanks in advance.Thank you Kuldeep for your response.
But i guess this is not exactly what i am looking for.
The scenario is, the user needs to inout the values for prompts, which you rightly said can be achieved via refresh on open option.
Now after this report is saved, there can be 2 options, either just save it to repository(which would save the structure and the last refreshed report output). Or save it to the computer as a local copy(xls or pdf).
We actually want to use this file as a parameter file for an ETL process and thus dont want it to save to personal computer as a lcoal copy.
I want to know if the last refreshed report is saved somewhere on the BO server, or if it can be saved to some location? And what format would this report be in? So that the output file can be taken from server and used as a parameter file for an ETL run.
Thanks again -
Not able to open a webi document in java
final String CMS = "pundl10492:6400";
final String userID = "administrator";
final String password = "";
final String auth = "secEnterprise";
IEnterpriseSession enterpriseSession = null;
try
ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
System.out.println("Session created : "+ enterpriseSession.toString());
if (enterpriseSession != null)
IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
final String query = "SELECT SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_KIND = 'Webi' " +
"and SI_NAME like '%Least Accessed Documents%'";
IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(query);
IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
int docId = objInfoObjectWID.getID();
System.out.println("docID : "+docId);
DocumentInstance doc = reportEngine.openDocument(docId);
FileOutputStream l_fos= null;
String fileName = "morcom" + "_" + userID+ "."+"xls";
l_fos = new FileOutputStream("D:\\_workarea\\MORCOM_POC\\reports\\"+fileName);
BinaryView docBinaryView = (BinaryView)doc.getView(OutputFormatType.XLS);
byte[] b = docBinaryView.getContent();
l_fos.write(b);
System.out.println("File created");
catch(Exception e)
e.printStackTrace();
I am trying to open a document and the code iam using is given above. I am using BO XIR3 and i get
Exception in thread "main" java.lang.NoClassDefFoundError: com/crystaldecisions/celib/trace/h
at com.businessobjects.sdk.plugin.desktop.webi.internal.d.<clinit>(Unknown Source)
at com.businessobjects.sdk.plugin.desktop.webi.internal.WebiFactory.makePlugin(Unknown Source)
at com.crystaldecisions.sdk.occa.pluginmgr.internal.PluginMgr.getPluginInterface(PluginMgr.java:291)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:409)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:361)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:712)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:566)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:167)
at BOTest.main(BOTest.java:42)
error at this line:-
IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(query);
Can anyone give a code snippet for opening a webi document in release3. The same code works in release 2.
Thanks
ShrutiYou have a "NoClassDefFoundError", so a code snippet won't help.
XI Release 2 -> XI 3, then jar files have been renamed and object files refactored.
You've ended up with mixed XI Release 2 and XI 3 jars.
Remove your jars and re-add from XI 3.
Sincerely,
Ted Ueda -
Saving webi document from BOXI 3.0 in excel with special character
Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
This happens only with Mozilla, get correct file name in IE.
Steps to Reproduce:
1)Create a simple XI3.0 webi report through mozilla browser
2)Save the webi report with special character name for e.g øäåýþ.
3)Open the webi report and save it as excel or pdf file.
4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
5)When saving the save report through IE browser in excel or PDF display correct report name øäåýþ in excel and PDf file.
Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any difference.
Has anyone came across such type of issue?
Whether this is limitation of Firefox or bug.
Regards,
Ketki FadnavisIssue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
This happens only with Mozilla, get correct file name in IE.
Steps to Reproduce:
1)Create a simple XI3.0 webi report through mozilla browser
2)Save the webi report with special character name for e.g øäåýþ.
3)Open the webi report and save it as excel or pdf file.
4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
5)When saving the save report through IE browser in excel or PDF display correct report name øäåýþ in excel and PDf file.
Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any difference.
Has anyone came across such type of issue?
Whether this is limitation of Firefox or bug.
Regards,
Ketki Fadnavis -
File created with Document Content Type will not be saved back to Sharepoint library
Recently some of our users, after upgrading to Windows 8.1 with Office 2013, intermittantly are not able to save files created using document content types template back to sharepoint library. Instead the location is set
to their local storage. The same templates used by Windows 7 users with Office 2010 are working fine. Setting the SP sites as Trusted location in IE and Clearing IE Cache did not help. Adding the SP site in Word Trusted Location did
not help. Any suggestions how this can be resolved is appreciated. Thanks.Hi,
According to your post, my understanding is that you could not save office file back to the SharePoint Document library.
It may have to something with your Word Settings. When you click new and it opens in MS Word, word treats it as unsafe because perhaps it is not saved. To make it work:
Go to Word (2013) -> File Menu -> Options -> Trust Center -> Trust Center Settings
-> Protected View Tab -> Uncheck "Enable Protected View for files located in potentially unsafe locations" (2nd option)
Here is the similar post, you can take a look at:
http://blogs.interfacett.com/word-2010-not-saving-back-to-sharepoint-2010-by-default
If the issue persist, you can also check the event log and ULS log to see if anything unexpected occurred.
To check event log, click the Start button and type “Event Viewer” in the Search box.
For SharePoint 2010, by default, ULS log is at:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
File Open Issues - document library pdf file to open in new browser window
Hi
I have a requirement to open the document library containing pdf file to open in new browser window. So far I have tried following steps but could not get it to work.
1. Changing Document library advance setting to open the document in browser (have tried others as well).
2. SharePoint web application setting changed as Permissive instead of Strict. Here the pdf file opens in browser but redirect from document library instead of new window(Also tried adding Target=”_blank” and no change).
3. Executed the powershell script to adding MIME type to see if it works but no change.
$webApp = Get-SPWebApplication http://SharePointSite
If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
Write-Host -ForegroundColor White "Adding PDF MIME Type..."
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
$webApp.Update()
Write-Host -ForegroundColor White "Added and saved."
Else
Write-Host -ForegroundColor White "PDF MIME type is already added."
4. Open the Doc library and modified ALLItems.aspx to add Target= “_blank”
5. I have already tried solutions suggested in the link:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/530e2ea1-d77d-491c-935f-04f536e439a5/open-a-pdf-document-to-a-new-browser-in-the-document-library-web-part?forum=sharepointadminlegacy
http://mindsharpblogs.com/todd/archive/2005/08/16/654.html
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/7b6091df-4657-4799-ba02-259ebd7e4b7c/pdf-doesnt-open-in-document-library?forum=sharepointadminlegacy
Appreciate if there are any working solution from any of you. Many ThanksI found a solution which works only in the development. No idea when I compared, Browser MIME type is enabled, STRICT browser type is configured for web application. on the document library advance setting, default to open in new browser. Both configurations
are identical but I am able to open pdf file in new window in my developing using jquery script
http://blog.ithinksharepoint.com/2011/02/21/open-pdf-files-from-a-document-library-in-a-new-window/ but the same does not work on production server :(
Any help experts?
Thanks
Maybe you are looking for
-
Why is the "Free texture" not available to Photoshop Photography Plan subscribers?
I have subscribed to the Adobe CC Photography Plan since August 2013. Today I received an email from Adobe with the subject line "New Benefits Added to your Creative Cloud Photography Plan." The email linked to a web page. On that page, I clicked
-
I purchased the Apple digital AV adapter and an HDMI cable from the Apple store so that I could display the content of my phone on my TV. It works for video and photo slide shows but I want to mirror my phone content like you can for the iPhone 4s.
-
Hello, probably it is a silly problem, but can anybody tell me why this FOR ALL ENTRIES IN statement does not fill all the columns of my internal table? At the end of the report only the columns LGOBE contains values. data itab type zmm_t_alv. select
-
Isync failing to sync with IBM WorkPad C3
iSync has started to fail. I think this first failed when I added a number of subscription calendars to iCal and ran out of memory on the Palm. I've now selected just the one calendar in iSync, but when I sync, iSync comes up with a window message sa
-
IMovie Yellow Exclamation Mark - What's missing?
I have movies that I updated from iMovie 09. When loading the Project, in the Timeline, I see the title in the middle with a yellow exclamation mark. I'm not sure why this is there. I initially had music missing with red and some files missing for so