.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

document library item viewer

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :SharePoint
 
Hi all, How we can make a document library item viewer? More like the document viewer. I have several file extension in a document library: eml, doc, and tiff. I want to put the viewer in the search result page. so when a user click 1 row it will show the item preview, no matter the extension.Best regards, -- Pingkan --


View Complete Post


More Related Resource Links

Document viewer on a documents Library & Tooltip Bubble on rollover

  
Hi everybody,
1 - I would like to know, if in Sharepoint 2007 ECM part (Documents Library), there's a downloadable webpart or an application to create a document viewer (pdf, doc, xls, msg...) in an iframe when you point the mousse over a document or something like that...
If it doesn't exist do you have in mind a code sample which can make something like that ? thank you.

2 - It's possible in a documents library to activate balloon tooltips which show us metas of the document (on mousse over), like an option or an application...

Thank you very much.
All the best.
Go I.T.

Creating a new document in Document Library from custom menu item (in the ECB)

  
Hello! I created a custom menu item in the ECB for a document library. I'd like for this to create a new document from this menu item. Additionally, I'd like to create a workflow where the Title of the document from which the menu action originates is inserted into a custom textfield in the new document that is created. Is this possible using SharePoint Designer?

Item/Document permissions affect Library/List permissions

  
When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

Customizing Send To Other Location Functionality for a document library item in Moss 2007

  
Hi All i have a requirment to customize the Send To Other Location funtionality. while using OOTB Send to Other Location option for a document library item we have  selection like Prompt the author to send out updates when the document is checked in? <input id="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateYes" name="ctl00$PlaceHolderMain$ctl01$ctl01$ShouldUpdate" type="radio" value="RadShouldUpdateYes" /><label for="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateYes">Yes</label> <input id="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateNo" checked="checked" name="ctl00$PlaceHolderMain$ctl01$ctl01$ShouldUpdate" type="radio" value="RadShouldUpdateNo" /><label for="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateNo">No</label> how we can set this option in my custom coding based on the user selection. i am not able to understand the functionality of the above option. can any one please explain the above option and let me know how to set this option programmtically in my custom code.   Thanks in Advance  muthu

Multiline text field in document library and item update from Word trouble

  
Hi I have faced a bit of odd problem. Here is the scenario: I have document library with text columns (multiple lines of text) that are set to unlimited length. I have a workflow that runs with Word documents (.docx) that stores information in XML to this field. Everything works perfectly until document is edited in Word and saved back to document library. After Word saves my document in document library, the multiline text field is "cutted", only 7 rows of text is saved to my field. I have tried hiding my text field, making it sealed or readonly, but still Word breaks my field. Funniest thing is that when editing document in Word, this field should not have any changes (meaning that I dont show my "long text field" in document information panel back in Word). I have tried also creating event handler to handle itemupdating event in document library where I switch spweb.parserenabled property to false and in itemupdated event I switch it back on. Also I have tried to remove all line changes from XML with no luck. This XML saving to long text field works perfectly with many other places but in this one environment this does not seem to work :( I am looking forward to any suggestions what to try next. I have been wondering about using the eventhandlers and trying to "protect" my text field with some logic but that is still just a thought.   T

Document Library and Data View - New Item

  

I want to add a Data View WebPart to upload a new document to a SharePoint Document Library.

What I'm aiming to do is to have a list item displayed on a page and then upload related files to a document library rather as list item "attachments".  So the user would come on to the page, see the list item and have an upload box underneath with all the document's metadata next to the upload  Can this be done using SPD?

I've had a quick look around and I'm suspecting the answer to this is "NO" but I thought I'd ask anyway.

(I'm thinking custom webpart)


How to hide/remove "Alert Me" action menu item from Custom List/Document Library?

  

Hi All,

 

I am using Sharepoint 2007 (MOSS).

I want to hide/remove "Alert Me" action menu item from Custom List/Document Library for my Sharepoint site.

 

any help will be appreciated.

 

Thanks...


SharePoint infopath item url in document library

  

I am in big problem which is very simple I believe for you. Hope someone will help me out.

I have a site in 3 environments. DEV, Staging, Production. I have a document library which has the infopath form template enabled in it and user has 3 infopath tempaltes in new button of library toolbar. User selects the template and save the infopath to the document library. A workflow is added on the library when a new item is added and it will trigger and fired on the item.

In the workflow I am writing some description and infopath url in it. In staging when I check the url, it is sending as below:

http://sharepoint/praveen/PHX10-SC130/_layouts/FormServer.aspx?XmlLocation=/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml&OpenIn=browser

The above is the format I actually needed to open infopath form in browser instead of client application.

But, when I check for the url in the mail from any other environment like dev or production, it is sending as below:

http://sharepointsite.com/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml

But, this is opening the item sometimes in Infopath client and some times it is prompting for open, save and save as option in browser.

All environments are having the same site and configuration. I have check

SharePoint infopath item url in document library

  

I am in big problem which is very simple I believe for you. Hope someone will help me out.

I have a site in 3 environments. DEV, Staging, Production. I have a document library which has the infopath form template enabled in it and user has 3 infopath tempaltes in new button of library toolbar. User selects the template and save the infopath to the document library. A workflow is added on the library when a new item is added and it will trigger and fired on the item.

In the workflow I am writing some description and infopath url in it. In staging when I check the url, it is sending as below:

http://sharepoint/praveen/PHX10-SC130/_layouts/FormServer.aspx?XmlLocation=/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml&OpenIn=browser

The above is the format I actually needed to open infopath form in browser instead of client application.

But, when I check for the url in the mail from any other environment like dev or production, it is sending as below:

http://sharepointsite.com/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml

But, this is opening the item sometimes in Infopath client and some times it is prompting for open, save and save as option in browser.

All environments are having the same site and configuration. I have check

How to insert item in document library along with document

  
HI,

  I have a Document library, i want to upload the document along with other column information, can any one help me with code how to insert a item to document library along with document.

Event receiver while item adding in a document library in SharePoint2010

  

Hi,

In my SP site i have various document sets.while i adding a new doc in the document set,i have to find the document belongs to which document set.I want to do it an event receiver..Please help me.


Event receiver while item adding in a document library in SharePoint2010

  

Hi,

In my SP site i have various document sets.while i adding a new doc in the document set,i have to find the document belongs to which document set.I want to do it an event receiver..Please help me.


Cannot delete an item from my Document Library

  

I have a document library which has multiple content types. I created one document of one the content type now when i try to delete the item it says Sorry! You cannot change items which You are not owner of!

But i created the item and i am the site collection administrator of the whole site. I have full control to the library.

If i sign in as Farm Administrator then i can delete it else it always gives me this error Sorry! You cannot change items which You are not owner of!

Any ideas anyone


kukdai

Error opening Office Open XML file when using SD workflow to create item in document library.

  

I have a Sharepoint document library that is using a word template with xml mapping (Word-Sharepoint).

I have a workflow created in Sharepoint designer that Creates an item in this document library with select data from a form library on the same site. 

It appears to create the entry in the document library correctly, it is showing the copied data from the form library and the correct default data in the columns specific to the document library. The explorer view shows the filename.docx files.

I am able to edit the data using the datasheet view, however it will not open the word document.

The error message reads "The Office Open file <filename> cannot be opened because there are problems with the contents." If I click on the details button it states "No error detail available".

Any ideas?


How to get item of document library from sharepoint site

  

Hi,

How to get item of document library from sharepoint site using C# without using microsoft.sharepoint.dll.

If we have to use microsoft.sharepoint.dll then how can i get that dll as I don't have sharepoint server, My application is based on WPF and C# only. 

Kindly reply me ASAP.


Non Mandatory Fields not allowing to save item in document library

  

Hi All,

I have 1 Document library where few fields/columns are NON MANDATORY, when i am trying to add new item in it, the fields which are non mandatory comes with Asterisk mark and not allowing to save any item in it.


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend