Hello,
I have an .aspx page built in SharePoint that I want to get the user name of the currently logged-in user (through ASP) and then manipulate it (using javascript). I'm getting an "object expected" error. Here's some of the code:
function checkGroupPermissions()
{
var loginNameVar = document.getElementById("LoginName1").innerHTML;...
how can i show a different homepage to different audience (or group) in sharepoint moss?
...
Hello
I'm making a Sharepoint 2007 Content Query web part, where I want to group by a field (ArticleSticky), but I don't want to show the field in the webpart.
Is there some way I can hide the field in the webpart? Maybe in the XSLT definition ?
...
I use an MSSQLFT query to poll Sharepoint's search through Search.asxm web service.
The query goes like this:
SELECT PreferredName, Department, AccountName, MobilePhone, WorkPhone
Title, JobTitle, OfficeNumber
FROM SCOPE()
WHERE
"scope"="People" AND JobTitle="Something"
ORDER BY
Department, OfficeNumber
Some peop...
I am using the following code
WindowsIdentity wIdb4 = WindowsIdentity.GetCurrent();
string name = wIdb4.Name;
in a workflow to show which user account is being used to upload a document. When i write the above mentioned string in a workflow history event, it always returns NETWORK SERVICE, even if i am logged in using the site...
I have one blog site created.I was working as required for almost 2 month.
But,Suddenly Comments link stopped working.I am not able to see Add Comment Textboxes.
There is no problem of security access,I have already checked those setting.
Searched a lot...but cant find any solution.
...
Is it possible using CAML to limit the amount of results returned. Say for example my query would pull back 25 results I would like the first 10 only.
...
We've been asked to create a web application. One part of the specification is that in future, it can be integrated into Sharepoint. The last version of this app was written in PHP and "integrated" by means of an iframe embedded into Sharepoint; not ideal.
I'm looking to understand the use of Sharepoint in this context. I believe that y...
To preface, I am working with SharePoint Server 2010 Beta 2, Visual Studio 2010 Ultimate RC.
I have built a custom Content Type based on the Item type with a few custom site columns. I also have built a custom Sequential Workflow using Visual Studio 2010. This is a relatively simple workflow that creates a task, waits for the task to ...
I am using the following script for uninstallation of a wsp workflow feature. Please can someone check and confirm that it contains all the required steps for the uninstallation or not.
I am doubtful because when i run this uninstallation script and install the new version of the wsp; the workflow still behaves similar to what it did wi...
I am building a phone catalog of my organization (an AJAX application which accesses the search.asmx web service).
I'd like to show a list box where the user could select a department (which is stored in managed property Department). To fill the list box with values, I need to somehow select all the distinct values of that property.
Is ...
From my experience, this is adding minor features at increased implementation and maintenance cost in comparison with using just "pure" Microsoft.Net, ASP.NET and IIS application.
Sharepoint 2007 = ( no concept of deployment version control etc, narly css/skinning, weird cms features, sp webparts not recommended, very limited worfklow f...
I have a number of Office 2007 documents (.pptx, .docx, .xlsx) in a SharePoint document library and when user tries to open the documents, it tries to open as a zip file. This happens to some users, but not all.
I posted this issue at http://superuser.com/questions/110211/why-office-2007-documents-open-as-a-zip-file, but I failed to me...
Does anyone know of a Sharepoint webpart that provides conditional formatting?
For example, if I am displaying a table, I would like to be able to change the backcolor of a row if a specific numeric cell exceeds a certain value.
Of course this could easily be done in jQuery, but for political reasons I need to find a way to do it using...
I create a C# console application using Microsoft.SharePoint object model VS WSS extensions on Windows Server 2003. The application is supposed to iterate WSS3.0 sites looking for all available lists. It runs just fine on the server. But if I try to run the exe from another computer on the network, the application crashes instantly on...
I have a SharePoint app that is configured correctly in the web.config for asp.net ajax, but when I try to use the Sys class it says it's undefined. I have installed SP2 and know that ajax is enabled because update panels work correctly. ScriptManager is being loaded to the page. I have a script link to register the external js file, and...
I have modified a SharePoint visual studio workflow which works as per requirement on the dev machine. I have to deploy it to an email enabled document library on sharepoint server and it is set to be started automatically when a new item is added to the library. When i deploy it to the server, and perform a manual upload to the doc libr...
I have created a feature and i am auto activating it whenever 'My Site' gets created.
I am activating it for the template SPSMSITEHOST.
This feature changes the Picture URL property of User Profile.
Now, the problem is my feature gets activated but it seems it does not execute the code by default and and does not change the picture URL ...
I have a sharepoint intranet portal which has many blogs and they have customized design. We use default Data form webpart for displaying blog posts. By default the posts are sorted based on "created date".
I have a new requirement from the client asking me to change the sorting criteria to "Published date". What is the easiest method t...
I currently use license.validate to check if my product is valid in sharepoint on windows 2003, i keep the license in the 12 hive and it all works.
i am testing the same code on 2008 and the whole web application just hangs!
Could this be a permissions problem?
Any help would be much appreciated.
Thanks
...