?
Solved

creating a web part in SharePoint 2003

Posted on 2012-03-12
7
Medium Priority
?
395 Views
Last Modified: 2012-03-15
Hi

We are using SharePoint 2003 and I want to personalise a view for an executive. I want him to see the shared documents on half of the page, while the other half I want him to see a file from another document library.

Any help would be appreciated.
0
Comment
Question by:gmollineau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 7

Expert Comment

by:CloudedTurtle
ID: 37710599
I am not 100% clear on your requirements... Do you want to see lists of the documents, or is the idea of 1/2 of the screen would be an open document? (not sure why you would want 1/2 the screen dedicated to a single file if its just a link...)

Are all the documents/document libraries located on the same site?
0
 

Author Comment

by:gmollineau
ID: 37711682
I want the user to see the usual "shared documents" with the associated files, while the other web part has a heading say " local reports" with maybe the files or a link to the files which are located in another document library. No, all the documents/document libraries are on different sites.
0
 
LVL 7

Expert Comment

by:CloudedTurtle
ID: 37711872
You could try doing something with a content query web part and JQuery (javascript). The first portion "showing the usual SharedDocs" shouldn't be too difficult. Then you could create another web part and target it to your Executive (targeting allows the contents to be rendered to only specific users). the contents of this web part would be Javascript code that would query your other lists and show links to the other documents. I have done this in the past using SPServices from codeplex (it is a JQuery plugin for SharePoint Services)
0
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
LVL 50
ID: 37711875
Hello,

not sure I understand the question. Why not just create a web part page with the two web parts side by side?

cheers, teylyn
0
 
LVL 7

Expert Comment

by:CloudedTurtle
ID: 37711882
0
 

Author Comment

by:gmollineau
ID: 37715425
I want to personalize this view on an ipad, is this possible?
0
 
LVL 7

Accepted Solution

by:
CloudedTurtle earned 2000 total points
ID: 37718154
It is possible, but may not be simple. Is you user currently using the IPad to access the SharePoint site?

FYI: I haven't done this before (for 2003) so this is all just theory.

If your user is already using their iPad to view the SharePoint site, one simple alternative would be to use a Content editor Web part to determine if the client browser is the iPad or not. If it is, you could use JQuery/Javascript to show/hide some of the web parts specifically for the end user. You can use the code below to determine the Browser, adding your own code to show/hide content for the user. (hope that all makes sense)

An alternative, more complicated method:
You could create a separate web page, I would start by using a "Standard Web Page" instead of a web part page. I would use the JQuery and SPServices libraries to get the information and present it in a manner that works on the iPad.

Then you could place a content editor webpart (hidden of course) on the original page that would run this code to test for the IPad browser.

// For use within normal web clients 
var isiPad = navigator.userAgent.match(/iPad/i) != null;
if(isiPad){
window.location("ipadFriendlyPage.aspx");
}

Open in new window


changing the path for the location page to fit your filename.

Concerns:
You will not be able to keep the SharePoint look and feel without doing some pretty intense work on replicating it. A "Standard Web Page" in SharePoint allows you to create a blank ASPX page and store it in a Document Library, but the master page doesn't get associated with this ASPX. Although, since you are still in the context of SharePoint, you may be able to attach to the master page, if it works for your IPad client. Not having the SharePoint master page CAN be a blessing as you aren't limited by the UI controls, and allows you to create an "IPad" friendly-er web page.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question