|
| ||||||||||
| Tags: client object model, jquery, sharepoint, url picker, visual studio |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How can I use simple URL picker in SharePoint 2010
I am a new guy in the field of development. I was thinking to provide users the ability to browse SharePoint used for the file. It must be in the way that the dialog must return the URL to me for that particular file. I have no idea that how that can be done and so I am posting this over here. Can somebody over here tell me any simple way to do that? Please reply as soon as possible. |
|
#2
| |||
| |||
| Re: How can I use simple URL picker in SharePoint 2010
There is a Plug in called "jQuery tree view" that will help you for sure. But that alone will not work in this case. You will need to use the Sharepoint client object model as well. It makes it possible to build a tree expandable and dynamic from an HTML fragment (specifically a series of elements <ul> nested). The final effect is really nice and allows you to create very usable interfaces. The plugin also allows you to associate each item lists an icon that represents the state of your item or container of other items according to a convention similar to the file system of operating systems (folders and files). Simply attach the list to the root class file tree and each span the content inside <li> the class folder or file based on its behavior. In addition to these basic settings, the plugin presents further extensions that improve the functionality on tree. These extensions can be activated via the treeview method which is a JSON object containing specific configurations. One of the most interesting configurations that I think is unique which allows a single node to be expanded by the same father. The second possible configuration that marks the event concerns toggle which is triggered whenever an URL is opened or closed. The most interesting feature concerns the possibility of continuing the state of the tree (which nodes are expanded and which are not) through the use of cookies or through the object location. |
|
#3
| |||
| |||
| Re: How can I use simple URL picker in SharePoint 2010
Yes, you can use the Sharepoint client object model. Working with SharePoint means, knowing a set of programming technologies and approaches that need to be balanced for best results and the best investment of the budget of clients. Many times we have to combine alternatives such as:
From the programming point of view, in the 2007 we already had a robust object model to program on the server. However, the work became more complicated when we needed to interact with SharePoint from the client or when SharePoint administrators were not allowed to install components on the server and that makes the risk of destabilizing the farm. Thus there arises some techniques which are characterized by:
These methods at times gave very good results, sometimes not coming to convince. But those days are over for the developer of SharePoint. Because the 2010 version have many improvements and one that I find most interesting is the Client Object Model of SharePoint 2010. |
|
#4
| |||
| |||
| Re: How can I use simple URL picker in SharePoint 2010
I would like to post some more information on Sharepoint client object model. Each of variants explained in above post contained in a particular library:
All three models interact with SharePoint through Client.svc service. Developers then programmed against the client object model, but the operations are sent in lots as XML Client.svc service. The service runs Client.svc operations against the server object model and the results are sent back to the customer in the form of JavaScript Object Notation (JSON). |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How can I use simple URL picker in SharePoint 2010" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cannot install Sharepoint 2010, Dotnet 2010, SQL SERVER 2008 on Motherboard DH67CL | rayen_r | Motherboard Processor & RAM | 1 | 18-11-2011 12:13 AM |
| pdf not opening from sharepoint 2010 with acrobat X pro | Upkeerat | Windows Software | 5 | 13-11-2011 07:50 PM |
| Url Rewrite gives error when used with SharePoint 2010 | Zadora's | Technology & Internet | 7 | 20-06-2011 10:53 PM |
| SharePoint 2010 Top 10 New Features | Brexton | MS Office Support | 5 | 29-01-2011 07:26 AM |
| Any cost to upgrade Sharepoint to 2010 | Harnoor | Windows Software | 4 | 14-10-2010 06:58 AM |