Tagged Questions
1
vote
1answer
291 views
How to programmatically add a hashtag to a List item in Sharepoint 2013?
I would like to add specific hashtags to List items on a Sharepoint 2013 App using the C# components.
I want to mimic the "Tags and Note Board" feature.
I found how to add a tag on the server here ...
0
votes
0answers
67 views
SharePoint autohosted App - Retrive Users from the 'app web'
I'm trying to develop an App for SharePoint (2013/Online). As part of the App initialisation and onboarding process, I need to read the list of 'app web' users and create corresponding user records ...
0
votes
0answers
45 views
Programmatically recreate Fast Search Layout list control
The Content Sources section under the Fast search Service application displays a list of all the content sources. The Content sources section gets is rendered by the ListContentSourceControl.acsx on ...
0
votes
0answers
71 views
populating document library column from sql server sharepoint 2010
I would like to populate a document library column in sharepoint 2010 with data coming from sqlserver DB. I have a sql query which returns the results and I would like to populate my document library ...
1
vote
1answer
191 views
office web apps integration
We would like to allow users of our site display office documents in Office WebApps. Since the Office WebApps are allowed only for skydrive or sharepoint and we have lot of documents for lots of ...
1
vote
1answer
394 views
programmatically get SharePoint Fast search content sources
Need help to complete my C# program. I have four content sources in my farm. I need to get all the content sources and start full crawl if the content source is idle.
What is the best way to do it. ...
0
votes
1answer
324 views
Get a weburl from Sharepoint Client Side Object Model
So let's say I have a full url into a sharepoint website.
In the past when I wanted to get the weburl and doc url, I used the "url to web url" method of the Front Page Server Extensions. ...
1
vote
1answer
122 views
How can I give a custom service application to a content database
I've got a custom service application that looks at a site collection and stamps pdf's on that site collection.
The problem is that the application pool that the service applications runs as ...
1
vote
1answer
2k views
Adding list items with SharePoint 2013 REST API
I'm trying to add a new item in a existing list using SharePoint 2013 with the REST API.
There is pretty good documentation for this here: ...
0
votes
2answers
225 views
Sharepoint web service error 0x81020030 when adding new list item
I am trying to add a new listitem using the sharepoint list service. But Iam getting this error in the result xml from sharepoint
"0x81020030Invalid file name. The file name you specified could not ...
-1
votes
1answer
300 views
Adding a document to a SharePoint list using a Ribbon button
I have a SharePoint solution using a custom document library. I need a way to allow users to added documents, but I need to specify the file name based on strict naming conventions. I am currently ...
0
votes
0answers
131 views
GetListItems Method + ViewFields parameter not getting overridden + sharepoint
I want to get the data for all the fields and rows from a sharepoint list. So, i gave all the fields in the viewFields parameter in the GetListItems() method specifying like below:
<ViewFields>
...
0
votes
1answer
122 views
How to get “Modified By” value for “custom list in datasheet view” app?
We get the "Modified By" attribute for all the files we upload to a document library in SharePoint Online. However, I am not able to fetch the field for "custom list in datasheet view" and "Calendar" ...
1
vote
4answers
372 views
SPListItem.Tasks always empty
I have a custom sharepoint (2007) list (named testlist) on which I attached a test workflow (built with sharepoint designer 2007 and named testwf), which only task defined in the 'Actions' section at ...
1
vote
1answer
1k views
How to programmatically create editable wiki pages within the Pages library of an Enterprise Wiki site
I'm new to SharePoint. I'm trying to programmatically create a wiki page within the Pages library of an Enterprise Wiki site in SharePoint 2010. Here is my code:
using (SPSite site = new ...
3
votes
4answers
4k views
Reading the list items Sharepoint 2010 client object model
I have a list where I am storing the image URLs and I am trying to read list of items and display the images on the page. For that I wrote the script something like below....
<script ...
0
votes
1answer
1k views
How to hide webpart in sharepoint only for specific user or case
I have PublishingLayoutPage and depends on query params i should hide few webparts.
But i dont now how to do this. Because if i understand problem correctly
SPLimitedWebPartManager will hide webpart ...
0
votes
0answers
53 views
How to change template in standard “CreateMySite” function in Sharepoint 2010? [closed]
I'm a new in Sharepoint 2010 development, and I need to change standard "CreateMySite" function by my one (in order, I only need to change template, that used on this function).
In any articles, I ...
0
votes
3answers
122 views
Web part to record performance metrics?
I'm trying to write a web part that will log some performance metrics to the database when the user loads the page that the web part is placed on. Although I can write to the database with no problems ...
1
vote
1answer
334 views
How to remove “Lists” and “Sites” nodes from quick launch menu?
I have custom sharepoint site xml template.
sharepoint when i am creating custom site based on my site template.
Features included:
<Feature ID="22A9EF51-737B-4ff2-9346-694633FE4416">
...
0
votes
1answer
119 views
Is there a way get lookup fields in random lists associated with a specific list programmatically?
I have a sharepoint list, for example it is named as SourceList. I also have several lists which are associated to SourceList via lookup fields. I don't know the names or number of these lists\ they ...
0
votes
1answer
426 views
Sharepoint - UserProfile.PersonalSite is null for couple of users
I am trying to get Public URL of all my sites. i have ran this code for every loginname and its working fine except for one user. for this user i am getting null in up.PersonalSite. i have checked it ...
2
votes
1answer
533 views
User Profile Pictures from Sharepoint 2010 - C#
What are the ways by which we can download all profile pictures of all users from sharepoint 2010.
I want to develop a code which can be run from a remote machine.
Does this can be done using ...
1
vote
1answer
2k views
Programatically Approve/Reject workflows and add comments
I'm trying to programatically approve/reject workflows in SharePoint. I can successfully do this, but I cannot add comments. I got my code from a year old question, which hasn't been answered ...
2
votes
2answers
222 views
Application to copy a SharePoint Group
As per this entry: Cloning a sharepoint rolegroup I'm trying to create a console application to copy a SharePoint group, including its permissions.
Based on the answer from Tjassens I've reached the ...
1
vote
1answer
199 views
SharePoint returns extra system columns
I do query to SherePoint. I have created query, viewquery and query options.
Web services returns me great results, but it include some other system columns such as:
ows_Modified , ows_DocIcon, ...
0
votes
1answer
445 views
Custom SharePoint Save Button
Help..
I have a custom new list item ASPX form. The form is working great, but I need to add custom functionality around the List Item name. I want to programmatically name the item upon the user ...
2
votes
1answer
393 views
Modifying sharepoint edit dialog
I have successfully created a feature in sharepoint that modifies the existing edit dialog and adds a custom button to it like this.
and I am aware that I can pass back data when the user clicks ...
0
votes
2answers
2k views
How do you create a new form for a custom Content Type
I am creating a new content type through an Elements.xml file in Visual Studio. I have reference a custom New form document in the XmlDocment node
<XmlDocument ...
1
vote
1answer
588 views
Developing Custom DocumentSet Content Type that includes other Document Content Types
I have sucessfully created and deployed a couple of new content types in Visual Studio. One is based on a Document Set and the others are based on Documents. What I want to do is specify the ...
-1
votes
3answers
293 views
Where I can find sharepoint api [closed]
I am new one to sharepoint. I want to gather all the methods and class available in sharepoint. Where I can get them. Just like API. I searched with Sharepoint API in google. But results are not much ...
0
votes
0answers
131 views
Sharepoint chart webpart [closed]
I am trying to add a chart webpart user control from the sharepoint webparts. I am able to see the chart webpart but when i try to add it an alert is displayed with a message "Cannot Import chart ...
0
votes
1answer
430 views
Custom Sandboxed Workflow Activity Issues
I have a custom SharePoint sandboxed workflow activity that I am trying to pass an optional parameter to. However, ULS gives me the following exception message:
...
1
vote
1answer
258 views
Generate Report(.docx) from Excel Web Part
Basically I am generating report .docx and .pdf format from the Excel file. The excel file is displayed as Excel Webpart and allowing the user to edit the excel file.
To Save the excel file:
I am ...
0
votes
1answer
350 views
Simple URL Picker
hi my scenario is I want to give the user the ability to browse SharePoint for a file and then the dialog should give me back the URL of that file.
Is this simple? And how to do it?
2
votes
2answers
554 views
ConversionJob in SharePoint2010 to convert docx to pdf takes long time or very slow
I have been using ConversionJob in SharePoint 2010 to convert the docx file to pdf and it takes a long time, around 10 mins.
Is that really very slow or is it because of the resources on my server ...
0
votes
3answers
1k views
Links on SharePoint 2010 Master Page not changed based on Alternate Access Mappings
We are creating a custom branded Master Page in SharePoint 2010. To make the page similar to a legacy page we have implemented an html based custom dropdown navigation menu we had in place directly on ...
0
votes
3answers
194 views
Populating Drop down on the basis of User Group
I am developing the SharePoint Portal in 2010 where i will be using a Dropdown with values in it. These Values will depend on the group to which the user belongs.
For Eg.
If Drop Values are A, B , ...
0
votes
2answers
212 views
Add field to list view inside FeatureUpgrading - how to identity the list view
in feature upgrading I have to add a field to the list view, that will point to new column in content type.
Currently my code is based on the assumption that view's title is All Links (I got it ...
0
votes
2answers
559 views
Geting SharePoint 2010 Multiline Field Value
I am getting multine content type filed value programatically with LINQ To SharePoint. It shows like below
<div class=\"ExternalClass282872C28A554849AA9167214C968756\"><p><a ...
1
vote
1answer
480 views
Adding existing security group to a subsite
I created several groups using the following code:
SPWeb currentSite = SPContext.Current.Web;
currentSite.EnsureUser(groupOwner);
...
1
vote
2answers
343 views
Sharepoint ListItem-Permissions
I'm developing a sharepoint 2010 application. One Part of these application is a List of items.
ListCollumns: Title, Owner1, Owner2
The user should be able to create ListItems and to set the items ...
1
vote
0answers
96 views
Sharepoint - query article data externally
I have a Sharepoint site set up, with a site collection that contains a publishing site for news.
News pages are based on the Article page layout, so contains title, date, byline, description, image, ...
0
votes
2answers
340 views
How to keep log of all search keywords on Sharepoint 2007 site
We have sharepoint site and we are using sharepoint 2007.
We want to keep track of all search keywords which are used by end users to search any document.
How it could be done.Can we use Sql table to ...
1
vote
2answers
308 views
How to keep log of all users who are visiting site or page on site Sharepoint 2007
We have sharepoint site and we are using sharepoint 2007.
We want to keep track of all users who are accessing the site and pages of the site.
We are checking sharepoin site usage report but we are ...
1
vote
1answer
1k views
Get all the machines in sharepoint farm
im writing really big script that will get a lot of info on the farm
I want to make it dynamically so I want :
1. Get all the database servers in the sharepoint farm
2. And I want to get all the ...
0
votes
1answer
149 views
Nasty Logical Error
I am trying to download all the document library in all the subwebs of a web and code is given below, but for some reason its not creating a proper directory structure, when i tried to debug i got an ...
0
votes
1answer
417 views
List web services - some methods don't work when file name with absolute Url is formed with server name rather than IP address
I'am using SharePoint List web services to have some queries on SharePoint server. It seems work fine when providing absolute Url with IP address where such input parameters required. For example, ...
1
vote
3answers
922 views
Querying sharepoint data
I have a requirement to retrieve data from share point (I guess it is 2010, but will check with admin if relevant) and generate an excel report/chart. Say we have a bug tracking system in share point. ...
1
vote
3answers
760 views
How to get the full URL from an SPWEB
I have a VB console application.
I would like to get the absolute URL of the page.
Here is my current code:
Using siteCollectSPSite As New SPSite("http://mySite")
Dim blogPostSpList As SPList
'Get ...