sharepoint

Graph generation in SharePoint

We have Data Mart DB with performance data which we need to show in a SharePoint application. The data will change only once a day. We need to show a lot of graphs as part of the data. We have kind of decided to use Dundas. But we are planning to explore other charting solutions that I'd like to know from the group. What is the best wa...

Content Query Web Part not displaying without web part zone

I am building a Sharepoint WCM site for a client. As part of a page layout I inserted a content query web part directly in the page, not in a web part zone (so the users couldn't edit it). Everything works fine in my development environment however when I deployed it to production the web part would say 'no items returned'. When I went ...

Sharepoint: How to add audience filter to custom control?

In MOSS 2007 I want to add a custom control to the global link section of a master page and have it only visible to a particular audience. The audience are the members of an active directory group who have logged in via SSL and need to be given a link which will log them out. How can I filter a custom control so that only these users w...

How to best deal with photos passed to IFilter?

I'm implementing an IFilter for indexing image formats. One problem is photos - many users have tons of photos, photos are huge and loading and searching for text on them is time consuming. Yes, sometimes people use cameras instead of scanners for digitizing documents, but the potential problems IMO far outweight the possibility of enco...

How to check if a another user is on the same or lower level in the company hierarchy?

I've got this: UserProfile prof = getUserProfile(properties.CurrentUserId); UserProfile toCheck = getUserProfile(anotherUsersId); "prof" user must be on a higher or on the same level as "toCheck" user. If "toCheck" is on a lower level he/she must be on the same branch of the hierarchy tree. If they are on the same level, their manager...

Sharepoint, how to know the kilobytes of the attachment without downloading it?

Hi. I have a list of elements in Sharepoint, they have title, description and the option to have an attachment. It's the classic list. I need to make a list of all these items, showing the kilobytes of the attachment. The problem is that I cannot do a FileInfo, because the only path I know is the URI path: http://xxx.com/../attachment...

How to use SPWindowsService

From what I understand from the sparse documentation on MSDN, the way to do long running jobs in SharePoint is to use a SPWindowsService. I would like an example on how to create a custom windows service to run in the context of a SharePoint farm. ...

Features not being deleted after removing the solution

Hello All, I have removed the wsp from the Operations-Solution Management. Still in the site collection features I see the Feature I have removed. Please help me in deleting it from the Site Features too. ...

Web part to see last documents user accessed

Hi I've been asked to create a web part in Sharepoint that lists up the last 10 documents the user has accessed in a Site collection. My client wants a quick way for users to access documents so that they won't have to dig through a folder structure to find a document, since users most of the time access the same document over and over...

WSPBuilder obfuscated dll

I am using WSPBuilder to build a wsp file for sharepoint. One of my referenced dll's is obfuscated with .Net Reactor. When building the wsp project, this dll is not recognized, the WSPbuilder is throwing an error. I am not with the solution of installing this dll manually as it should be part of a complete setup on a sharepoint farm with...

get a guid of an list item of a sharepoint list

Im using SPDataSource to bind a sharepoint list to a repeater control within the itemtemplate of the repeater i am using things such as <%# Eval("Title") %> im trying to get an id for the list item, ideally something like a guid eg <%# Eval("GUID") %> but the above does not work... how can i get a guid? btw i did <%# Eval("ID") %> th...

SPContext in Event Receiver (PortalSiteMapProvider)

I'm trying to write an event receiver which uses the PortalSiteMapProvider. Without having HTTPContext or SPContext INSIDE the event receiver, how would one go about accessing the PortalSiteMapProvider? ...

How can a sharepoint form library be set up to allow users to submit forms, but not see other people's forms

This use case seems like it would apply to just about every form, but I have yet to find a good out-of-the-box solution for it. Imagine an HR Complaint form based on InfoPath and SharePoint. All Employees should be able to fill them out and submit them, and possibly see the ones they've submitted, but only members of HR should be able ...

Cannot change the colour of a List Form Web Part

I am using SharePoint Designer to load a list form web part and want to modify some colors in newform.aspx. I right-click on this object, go to Properties -> Formatting but can't change anything. What would be the reason? ...

SharePoint: add properties to a webpart from code behind

In the codebehind of a page. How do i get hold of a webpart that exist on the page, then add properties to that webpart using c#. The webpart exists withing a webpartzone. Do i need to do anything with SPWebPartManager? ...

Is a sharepoint developer technically "equipped" to do custom app dev and vise-versa?

This may be an opinion based question, but it's something that I wanted to ask (even if it does end up getting closed or deleted). I do custom app dev (asp.net/aspMVC) and have absolutely no knowledge about sharepoint and was wondering: If you have a "rock solid" custom app dev, asp.net/aspMVC web developer can he jump into sharepoint ...

Sharepoint hide items in menu

Is there a way to hide: "Edit Item" / "Manage Permissions" / etc in a Sharepoint List? I want to avoid to modify CORE.JS, maybe a JQuery hack/tweak? Ive researching but I see nothing clear. ...

TWebBrowser and NTLM-authencation

How can I connect with the TWebBrowser-component in Delphi from outside an ADS-Domain to a Sharepoint-Server. I've created an user-account in my domain and will connect with this information to the server. the following don't work: const USERNAME = '[email protected]'; PASSWORD = 'Password2009'; var Url, Headers: OleVariant;...

How to find the URL of a SharePoint web application given the url of a Site within that

Hi, I need to find the URL of the web application of a given Site (say I have an url http://code/sites/java. Given the url of this site collection i need the URL of the web app that hosts this site collection. In this case it will be http://code. ) Any input will be appreciated. ...

Sharepoint permissions with Windows Authentication and custom Role Provider

What I'm trying to do is the following: I want to use Custom Role Provider's role name into a sharepoint group (maybe like visitors) to restrict permissions and users resolved automatically with AD without a login page. To do that : I've created 1 sharepoint webapp and 1 extension of this webapp I've configured my 1 webapp (which zon...