sharepoint

Sharepoint - SPSiteDataQuery (want to get list of documents)

I am using code like the following to get a list of all documents in a site with SPSiteDataQuery however, it is returning all sorts of documents that were not uploaded by the user. What is the best way to filter the list to only those documents that a user would have uploaded? I am suspecting that there is a query that I can use but I ...

Force logout currently logged in user in wss 3.0 - how to?

Hi, Scenario is like this: I have currently logged in user. This user would like to remove his own account. He clicks button, then Membership.DeleteUser function runs. After this he is still logged in into service despite that his account was successfully deleted. How can I force to log out him after his account was deleted? ...

Installing Sharepoint

After installing sharepoint on our buildserver, all of our sites in IIS didn't work anymore. Apparently Sharepoint is being installed on port 80 and everything is routed to Sharepoint. I have now changed the port to 81, but my question is if it's possible to run sharepoint on port 80 together with our normal sites? And how off course? We...

App-pool problems, updating credentials in stsadm

Hi, I opened Sharepoint 2010 Central Admin and as per normal, was prompted for my login details. As I did not know the details, I closed after a few guesses/changing the default account. A few hours later, remembering the password, I try again but get a 503 Service Unavailable. I check the app pools in IIS7 and see that the SharePoint...

Link calculated value to other list in SharePoint

I have 2 lists with some common cols and Need to multiply the Calculated Sum value(of certain col) of one list to the particular col value in other list . ...

Update panel error in custom page when logging with a user other than the administrator

Hi all I made a custom page and added it to a MOSS 2007 site. the custom page has an update panel and some ajax controls when I'm logged in as an administrator with full control permissions, the page works fine. but if another user with even Full control permission logs in and browse the page, an error appears: The control with ID 'Upda...

How to uninstall feature without Feature.xml file?

Hi, I have feature which is not correctly installed on my website. How can I uninstall it without Feature.xml file and without feature id? ...

Audience Targeting - hide it from unauthenticted users (Want a 'NOT' modifier to a group)

Hi. I have a image web part I want to show to anonymous users but hide from users once they log in. I have used audience targeting to set the target audience to 'All site users' and that show it to all users, but i need it to disappear once the user is authenticated. Any thoughts? ...

How long am I able to use SharePoint 2010 beta?

How long am I able to use SharePoint 2010 beta version? Thank you. ...

Adding an invisible Document Library to a SharePoint site

Hi All, I'm added a document library to new SharePoint sites though the onet.xml file, <File Url="FooDocsPage.aspx" Name="FooDocuments.aspx" Type="Ghostable"> <View List="Foo Documents" BaseViewID="10" WebPartZoneID="Left" WebPartOrder="3" ReadOnly="TRUE"/> ... I need to remove this web part from the page so users don't see if, ...

How to determine SharePoint version using SharePoint web services?

I need a way to determine the version of SharePoint based on the URL provided. Also, I need to have it implemented through SharePoint web services or any other method that does not involve SharePoint's object model (because the code is not executed on the server). Could anyone help please? Thanks. ...

How to get the selected pictures in a picture library in SharePoint.

Is there a way to get the selected pictures in a picture library with the object model in SharePoint? It seems there is not a selected flag with each picture item in the library. ...

Do Business Connectivity Services use live data

In SharePoint 2010 the business data catalog will be replaced by Business Connectivity Services. With BDC the data in SharePoint would only be synchronized with the datasource when requested. Is this still the case with BCS or does this work with live, up to date, data? ...

Problem using webclient object to download a file in SharePoint email enabled document library

I am using webclient object to download a file to a windows folder from a sharepoint document library. The credentials I am passing to the webclient object are that of site collection administrator. everything works fine while i test it by uploading a file to the document library. But since the document library is email enabled; when an ...

Can I edit a sharepoint list using Forms Services?

I don't know if I can edit a sharepoint list using Forms Services. Is it possible design Infopath Forms working with Sharepoint lists ...

How to use _spBodyOnLoadFunctionNames.push in SharePoint without a time delay?

I am using SP2010 and need to run some javascript code to update an iframe when the page loads. Due to this, I have used the following method _spBodyOnLoadFunctionNames.push("myfunction") to execute the javascript function. The problem is that the page loads (and the original html/css elements are loaded), then the page reloads with the ...

SharePoint Content Type Inheritance: Inheriting UI defined CT from a feature

Is it possible to create a Custom content type declaratively using features in 12 hive that inherits from a custom content type that was created through UI. For example, CT-A is created through SharePoint UI, CT-B is a child of CT-A but can I create it using xml. I would create an ID for CT-B as : "Id of CT-A + 00 + GUID" to signify tha...

SharePoint 2007 using '~language' dynamic token stays en-US even when site is in zh-CN

In the master page for a SharePoint site, a CSS file is referenced in the <head> section as <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/~language/Core Styles/style.css%>" runat="server"/> my understanding is that the site will convert the dynamic token to the language of the site, such that if viewing in ...

SharePoint TimerJobs and threading....

Hi SO, I've written a SharePoint 2010 app that uses a TimerJob to trigger processing of some documents in a list. The timer is set to trigger every minute but the the processing may take more than a minute. I'm just wondering if the next trigger of the timer job will be started using a new thread, or will the timer service just wait unt...

SharePoint 2010: Possible to restrict PeoplePicker from displaying AD users in a claims-based web site?

I have a claims based site in 2010, using FBA (SQL), and AD. I would like when the forms users login to not see AD results in the peoplepicker. This was possible in 2007 using: stsadm -o setproperty -propertyname peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode How can I do this in 2010? If I try to disable AD for ...