I want to build a WebService that shows two columns:
User Name , Url.
It will be a list of all the entrances to my sharepoint site.
I think to use the "MOSS usage service",
are there any articles about how to get to the service's data?
or maybe I need to deal here directly with the IIS ?
...
Hey guys, just wondering if their is a simple way to create an Item in a custom list but i need that item to be dynamic. The user can click add more to get another field that would hold the same type of data an unlimited amount of time.
If i could even just add an excel spreadsheet type of field that would work also. But excel wouldnt n...
Hi,
I have a Document Library for which I need to add a user (SPRoleAssignment object). But since the SPList inherits the Roles from the parent web, it does not allow me to add for this SPList object alone. To add SPRoleAssignment object to this list alone, there is an option in UI, to create a separate copy of permissions for this SPLi...
For a command such as this:
C:\>stsadm -o upgradeSolution -name zzz.wsp -filename zzz.wsp -allowGacDeployment -local
I receive two outputs of the success statement rather than just one:
Operation completed successfully.
Operation completed successfully.
It seems to be related to the -local flag, so my guess would be that it succes...
I have a strong gut feeling that using SharePoint RunWithElevatedPrivileges should be avoided like the plague, but need to convince some others as to exactly why. Here's what I have.
Spawns a new thread with elevated privileges
Blocks other operations until the passed delegate returns
Security problems (runs with a high level of privi...
Hi,
I would like to programmatically add a custom site template (.stp file) to a MOSS team site collection as part of my build process. Can anyone point me towards the best way to do this?
Thanks, MagicAndi.
...
I have tried Visual Studio Site Solution generator for building Sharepoint Site solution.
My requirement is to validate blog entries with some criteria at run time. I want to add the same Bad Keyword thing I had asked earlier.
But Visual Studio Site Solution generator is unable to create solution for Blog Site and showing below error ...
Hi,
Following on from this question, I have created a feature to upload an site template file as part of an automated build of a SharePoint site. However, while the feature deploys the .stp file correctly to the hive, and the solution appears in the CAS | Operations | Solution Management page, the site template does not appear in the s...
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...
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.
...
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.
...
Hi,
I need to determine the sites and webs that a specified user can access in a SharePoint web application via the SharePoint API. Note the specified user is different from the current user that is calling the code. I initially was thinking of making use of the PortalSiteMapProvider, but it does not offer an option to change the user...
I am trying to upload multiple files into a SharePoint LIST as attachments. (can't use Document Libraries).
I'm trying to use jquery to accomplish this but I'd appreciate any help or advise you may have concerning how best to upload to a list.
For instance, can multi-uploads be accomplished when creating a new item?
If you have code ...
I am using sharepoint event handler Item Adding for Wiki Site.
I need to capture input text and validate against some criteria.
I am unable to get the same.I have already used properties.BeforeProperties
properties.AfterProperties and DictionaryEntry object.
But nothing works as it is supposed to be.
Suggest other approach.
...
I have come across an issue which occurs when provisioning a new Document Library and adding content to it via features.
The following issue won't happen as long as there is an Activation Dependency set for the content feature.
The scenario:
I have 2 features, the first provisions a basic Document Library on my site.
Document Librar...
Hi,
I have created a SharePoint wikipage library using C#. Now when I try to add files to the WikiPage library using SPFileCollection.Add method and click at those files, they appear in a separate browser window. They do not come up in the sharepoint window itself as in case of a WikiPage created from the SharePoint UI. What am I doing ...
I have a custom list, and I've added a 'Page Image' field by clicking on the 'Add from existing site columns' link on the Settings page for the list. I would now like to remove the field, but clicking on the field name on the Settings page yields no 'Delete' functionality.
How do you remove fields from a custom list in SharePoint that h...
I have a SharePoint list with Content Approval enabled. The business requirement is that once the new list item is approved it should stay approved despite further updates by any user.
My first thought was to handle the ItemUpdating method, and if the corresponding before property is Approved then set the after property to Approved. T...
Hi,
I have developed a sharepoint application using object model. It reads the contents of the file using SPFile.OpenBinary() object and saves the contents of the file in the local disk. When I try to create the same file again with the saved content, the file size differs. And this happens only for office application files (.doc, .xls ...
Is there a way to prevent a SharePoint site collection administrator from viewing the contents of a file without leaving a trail?
I’m one of the farm administrators as well as one of the site collection administrators and we are developing an InfoPath form that will contain sensitive information. It would be nice if we could assure the...