Solved

creating a web part in SharePoint 2003

Posted on 2012-03-12
7
349 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 50

Expert Comment

by:teylyn
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 500 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now