Filter sharepoint content - sharepoint

I need to filter the content in all the pages according to user selections. there should be one control to select different parameters like country, branch and location. page content should change according to user selected values throughout site even user navigate to other pages or subsites. When user closes his/her browser and comes back he/she has to see the content according to most recent selections.
Thanks in advance.

There are no out of the box components that will help you do exactly what you want. The closest you can get to is using the Audience Targeting feature. Kept to simple scenarios, this feature can provide a lot of mileage.

I recommend writing a custom webpart/feature for sharepoint. Depending on your policy at work the last part may not be possible to implement.
When user closes his/her browser and comes back he/she has to see the content according to most recent selections.

Related

Multiple Edit forms in Sharepoint 2007

I've got a form that gets filled out in stages so I wanted to direct users to a secondary edit form part way through the process. Is this possible?
Hide and reveal using JQuery on the editform.aspx would be my initial choice. I've done this type of work for a very well known bank and it worked very well. Single form with different sections of the form to fill in dependant on the answers provided (and the user group membership)
If you actually want to maintain two lists and hence two forms and redirect between the two - I would look into changing the "source" querystring parameter in the editform so that on completion of the form, you get directed to an alternate location. Not tried it but it would be a sensible place to start looking.

Multiple Sharepoint Forms

I am trying to split out what I originally wanted in a single form. The downside was that I wanted to keep multiple lists and I found that I could not use a single form with multiple lists.
What I am trying to do is to keep my customer information in a separate list/form so I can re-use it in a different application as well.
What I would like to do is give a picker to pick the customer from a list, and if the customer is not listed to allow the creation of a new one.
What I am wondering is how I can leave the main form, create the new customer, and then return to the main form but with the new customer information passed to the new form as selected. In ASP.NET one of the ways I would do this is through the querystring, but I am not sure if that is doable or preferred in Sharepoint.
Any thoughts or links to tutorials would be great.
Please keep in mind that due to access/security limitations I am trying to do this strictly through the browser and Sharepoint Designer.
Thanks!
With your access limitations, I don't see a solution that will allow the refresh of the original form to get the new data. You may be able to hack in some JQuery stuff to do this, but I just don't see it being an easy/value-for-time thing to do.
You may just have to allow the form user to save the form without customer info and come back to it.
A list view can then highlight forms with no customer info. This all depends on the usage scenario.
You can use the Source query string parameter to get you back to the original form after completing the new customer form. However, unless you add some code (either javascript or server side) you won't get the id of the new customer.
The best option is probably using jquery and the sharepoint web services. It's quite easy if you start with the right scripts, and you can do something like your original plan - make a simple form in a jquery ui popup.
You can also use javascript to manage linking between multiple forms, but you need to be careful about clearing out already entered form data.
Another option would be to edit dispform.aspx and add dataviews for other lists, along with appropriate add buttons, and add javascript to the new customer form that sets the value of a connecting lookup field. However, that tends to require quite a bit of messing about with list guids and other undocumented bits.

Change template html in sharepoint discussion reply box

I have a wss 3.0 install which needs an "anonymous" discussion board. I can modify the view so no usernames are displayed, however when I click on "reply", the message I'm replying to shows up in the rich text box with the username of the previous poster.
Is there a way to remove that username? or Remove the previous posted text altogether? I've found the schema.xml file with lots of relevant info under the ..12\TEMPLATE\FEATURES\DiscussionsList\Discuss folder, but not sure if this is the easiest way to adjust this setting.
Any comments appreciated.
Best practice says that you should always create a custom list definition instead of trying to modify the OOB assets.
The easiest way to do this is take a copy of the 12\TEMPLATE\FEATURES\DiscussionsList\Discuss folder, modify the feature Ids and names so that its unique. Then your free to change the schema render template (i.e view schema) and modify the edit and display forms.
If you need to modfify the actual entry form you may consider a custom control template : http://msdn.microsoft.com/en-us/library/aa543922.aspx
Custom list definition : http://msdn.microsoft.com/en-us/library/ms466023.aspx
Agrothe,
I have a similar requirement (hide or mask the author inside the reply thread.). What exactly inside of schema.xml do you think will allow you to do accomplish that?
Not sure if the list forms are exposed to xslt. If so, then perhaps this is another approach.
FWIW, the other solutions I have investigated:
(1) A custom event handler. Unfortunately, I can't pinpoint which event fires when someone click reply.
(2) Anonymous blog comments (http://blogs.msdn.com/sharepoint/archive/2007/08/06/anonymous-comment-feature-for-sharepoint-blog-now-available-on-codeplex.aspx).
(3) the other thing I am considering, is to introduce a global anonymous active directory login, which users can use to post anonymously. Not ideal, but for the amount of time I have spent researching a solution, might be my last hope.

Upload Image in List

In my Sharepoint site, I have a list where users can enter his/her profile information, such as first name, last name, age, sex. In addition to this information, I want to let the users upload their images as well. When I create a view for this list, how can I let them show their image along with other information?
Can anyone tell me if there is any way to upload an image while adding new item to the list which will be use later in creating view?
A few ways to approach this:
Start with a picture library
Add additional columns to the base set for storing the profile information you need. This is very simple and the list can be very simply managed using out-of-the-box views. Users are added by uploading their image and filling in their personal details.
Start with a contact list
Add a picture column for the user's image. This would require the extra step of the user having to upload their image somewhere. I would discount this option over the previous one as there are no significant advantages and you have to deal with the extra step.
Use My Sites
This gives each user their own private and public page and has the advantage of being initially populated from Active Directory. Users can upload a picture of themselves and you get other nice features as well.
However this won't give you the list you're looking for - you would need write a web part to query the profile data and display it as a list. Features to only display certain users and/or for editing a user's profile information may also be needed.
This can be a nice powerful solution but could also get complex quickly and may be overkill for what you need. My Sites should be planned carefully and require user education.
http://sparqubepicturelite.codeplex.com - is newer and better version for SharePoint 2010 and it is not a web-part but a column.
tried imageupload available at codeplex?
http://imageupload.codeplex.com/

How can I get rid of the "Close" button in SharePoint?

I need to give access to users to some Reports History (Reporting Services snapshots lists, under http://SEVERNAME//Reports/_layouts/ReportServer/ReportHistory.aspx?list={REPORTID} but they shouldn't access and navigate the Report Library to do so.
A Links List did the trick to direct the users to the reports and their reports history, the problem comes when they hit the Close button in the Reports History page: it redirects to an upper level (the Report Library users weren't supposed to see...)
Is there any way I can get rid of "Close" (or change its function)?
Thanks in advance!
One approach you could take is to just go into 12\TEMPLATE\LAYOUTS\ReportServer and try and edit ReportHistory.aspx to get rid of the close link.
Try and find a unique identifier of the close button or table cell that contains it and add a "visibility:hidden;" to it to hide from the user.
Don't go editing the out of the box files from Microsoft or your sharepoint will be in an unsupported state and woe will be yours!

Resources