The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

0
votes
1answer
433 views

Hide a Site Column in NewForm and EditView

I have created a custom site column. I have added this to my custom content type that inherits from the document content type. I wish to hide a field on the edit and new forms. I have the following ...
0
votes
1answer
299 views

Custom Actions all document libraries

I want to develop a "Custom Action" for all of document libraries in a site collection, I tried looking on Google but couldn't find any relevent tutorial. Custom action has to be in "Actions" and ...
0
votes
1answer
33 views

uploading a document to one location and have it replicated on other sites document library

What would be the best way of uploading a docuemnt to one location and have it replicated on other sites document library. I know I can use workflow, event receivers but then there will be ...
1
vote
1answer
60 views

Include in SharePoint 2010

I have a custom HTML menu in my MasterPage. I would like to have it in a separate file so it can be easier to update. Is it possible to do an Include?
1
vote
2answers
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 ...
0
votes
1answer
183 views

User's Alerts always null

I've set the user alerts fine (I've even checked through the UI that they're there). But when it comes to accessing these Alerts the collection is always null: I understand that the SPUser must be ...
0
votes
1answer
115 views

Method not found after adding code class to SharePoint Web Part

I'm creating a SharePoint Web Part that displays list items. To display these items I am using an asp:ListView and <%#Eval() %>. I needed to change the output of <%#Eval() %> so I added a ...
0
votes
2answers
409 views

Problem with connectivity and OWSTIMER.exe

Our stagging environment is on a single server with 3 virtual servers, Database Server K2 Workflow Server WebFrontEnd Server Now time to time I am getting this exception for a webpart in event ...
0
votes
1answer
530 views

Showing the tab on button click

Basically my questiong is regarding the ribbon. So I want to have the following behaviour, when a person clicks on the button, the contextual ribbon tab should be opened. Any idea how to do that? I ...
1
vote
1answer
83 views

Why FileNotFoundPage is null or is null by default

I just tried to access property "FileNotFoundPage" for a web application and its coming up as null, I wonder if its null by default or if something changed it to null. I would also like to know what ...
2
votes
1answer
164 views

SharePoint 2010 404 status behaviour

When you create a new webapplication, the FileNotFoundPage property is empty. When we do a request to a non existing page SharePoint gives a default 404 status on the page that is not found. The url ...
-1
votes
2answers
89 views

Why always when I use data Veriable in Sharepoint I must Adding o Hours to it's

Why when I Adding a Data Veriable I must correct them by adding some hours to them. When I using ToUniversalTime().AddHours(2.0) i must add a two hours, and if I using ToLocalTime().AddHours(-1.0) I ...
0
votes
0answers
78 views

How in CAML Query should I exchange e.Day.Date.ToLocalTime() by the Textbox.Text with date string

how can I exchange e.Day.Date.ToLocalTime() by the Textbox.Text value. I have this code: string FullQuery = "<Where><And><Eq><FieldRef Name='{0}' ...
0
votes
1answer
572 views

Sharepoint 2013: Get url of discussions in Discussions List

Im working on Sharepoint 2013 Community site, Im developing a custom webpart where I filter the discussions and displaying the title of the discussions as a Hyperlink. How can I find the url of the ...
-1
votes
1answer
85 views

Problrm with redirect in Items Adding

I put in items adding this code: SPUtility.Redirect("http://gzawistowskilap/SitePages/Event.aspx", SPRedirectFlags.Trusted, current); If I try to add something a error shows: The Ribbon Tab with ...
0
votes
1answer
55 views

Update Panel and listing items

I have got a code, on procedure Button_Click: protected void Button2_Click(object sender, EventArgs e) { using (SPWeb witryna = SPContext.Current.Web) { ...
-1
votes
2answers
50 views

Add a lookup fild by the bottom Click, not from Adding Item

Hello how to add to the value by bottom click not from the Adding Item. Only from code: protected void Button2_Click(object sender, EventArgs e) { using (SPWeb ...
0
votes
1answer
780 views

Select a ribbon tab Ribbon.read with a button

My question is simple: How do I select a ribbon.read with javascript? For example i have a different tab selected but clicking on the button i would like to select Ribbon.read ... any adivces? ...
1
vote
1answer
60 views

Redirecting at Adding Item Added Item

I have read this article: http://www.sharepointkings.com/2008/06/redirection-from-event-handler.html , and i put this line in my code: SPUtility.Redirect("Event.aspx", SPRedirectFlags.Trusted, ...
3
votes
1answer
2k views

Client Object Model - Update Document Library Metadata - Lookup Field with no required value

I am attempting to update metadata for documents in a document library (or List) using the client object model. I have whittled down a number of the error messages I was getting and now I am hitting ...
1
vote
1answer
50 views

Site page as a Mobile view

I want to make a page that functions as the mobile view of our SP2010. It has to be clean and clear of all the MS (SP) code to keep it w3c standard, is there any way to do something like this? My case ...
0
votes
3answers
1k views

ItemAdding getting the file name of a document

I have a document library. I want to add an itemadding event recieiever to do some validation on the file name of the document. How can I get the file name from the SPItemEventProperties
1
vote
2answers
453 views

How to programmatically determine if anonymous access is enabled for a SharePoint 2010 Web Application using C#?

In Central Administration\Manage Web Applications, there is the ability to enable anonymous access on a web application through the authentication providers. Is there a way to programmatically ...
0
votes
0answers
139 views

ItemAdding or Item Added refresh Site

I looking for solution to refresh Site after Item Adding, or Ittem Added. I read this article, but I don't know how to use in my Code. ...
1
vote
0answers
65 views

Confirmation Box while Item Updating event Moss

I need a confirmation box for Item Updating event on a custom document library, can someone tell me what would be the best and quickest way of doing it using C#.
0
votes
2answers
2k views

How to get items id in properties.AfterProperties elements?

I try this in ItemAdding, but it isn't work(Gives Null): public override void ItemAdding(SPItemEventProperties properties) { base.ItemAdding(properties); if ...
0
votes
1answer
74 views

AutoStart Popup when some code are true

I have got a code: if (sumaProcentow > 8) { e.Cell.Style.Add("background-color", "#FF0000"); e.Cell.CssClass = "dni_swiateczne"; } I wont when this code are true to auto post popap in the ...
0
votes
1answer
44 views

ID column how is she caled

What is name of ID kolumn please help. I have a code: item["ID z Czas Pracy Wpisy"] = properties.AfterProperties["GUID"]; And don't know what is it name.
0
votes
1answer
36 views

removing or hiding option “Add new document” for a custom document library

I have a custom document library that "should only allow one user" to upload/Edit documents but let everyone else to download/View it. At the moment I got two events that are checking who is ...
0
votes
0answers
41 views

ID column in Sharepoint How it Cols in Internal name, and in Display Name

How calls a ID Sharepoint Column. Internal name. In ItemAdding I have got that code at Event Receiver: item["ID z Czas Pracy Wpisy"] = properties.AfterProperties["Identyfikator"];
0
votes
1answer
116 views

Display Name and Internal Name

I has this Code: var query3 = new SPQuery(); query3.Query = "<Where><Eq><FieldRef Name='Dzien' /><Value Type='DateTime'>" + ...
0
votes
1answer
81 views

If a change a name for the column of the list how can I get it back

If I made a list in first time and puts a names on them, it's work good, but when I rename it, and want to call back from the code, it don't see the rename title of items colums. How can i call to ...
0
votes
0answers
419 views

Cannot remove file <x>. Error Code: 16388

I've written a tool top copy/paste/delete files accross site collections and then remove the original version from the recycle bin. The method to copy the files is: public bool ...
2
votes
3answers
110 views

Using a development farm or standalone for developing against SP2010 Standard and Enterprise features?

When doing development for SharePoint 2010 Standard and Enterprise features, should we use a farm or a standalone setup? Please note that a similar question was asked ,but this aspect was not taken ...
3
votes
2answers
632 views

How to get changes from SP server 2010 in client object model?

Below is the code: ClientContext context = new ClientContext("http://SPSite"); context.Credentials = new NetworkCredential("user", "pwd", "domain"); ChangeQuery cq = new ...
0
votes
0answers
157 views

How to insert fields of the Document Information Panel inside the body of DOTX document?

In a DOTX template document, how can I insert a placeholder for the fields in the Document Information Panel? I'm only being able to insert document properties, via the Quick Parts button. And, if ...
0
votes
1answer
385 views

Popup on Sharepoint. How to add?

I have got a question, How to add popap window to Sharepoint by the code. I tried many thinks, but they could be block by web browsers. I must find that want unblock by web browsers.
0
votes
1answer
124 views

Tutorials CAML for Sharepoint

Have You know any CAML Tutorials ? At most i would like to find any Tutorial for U2U CAML Query Builder. Please help.
0
votes
3answers
357 views

Overriding complicated javascript function

I have a some default SharePoint complicated javascript function and I'm not sure how to override it, replace it. In gerenal i know how to replace the functions, so that your implementation is called ...
1
vote
1answer
106 views

Access exceptions when trying to add a content type to list

In the following method, 'list' is simply an SPList ("Documents"). I'm attempting to add ContentTypes to the list and then update it. This code is found in the FeatureActivated event of an event ...
0
votes
2answers
205 views

Writing a ItemAttachmentDeleting in Event Receiver

i have got two Lists {"Wpisy", "Szczegoly"} And if I delete record in Wpisy I want to delete all corelate records by days in "Szczegoly", and worker schoud be the same, and Kontrakt schould be the ...
3
votes
4answers
3k views

Get SPWeb by ID without Site Collection?

I have a list of SPWeb IDs and would like to open the associated SPWeb objects. However, I do not know in which Site Collection they are (I DO know that they are in the current Web Application ...
2
votes
2answers
102 views

How to connect to the production environment in SharePoint with Visual Studio

What privileges should be set up to connect with the Visual Studio with Production Enviroment. Now I'm writing my code at SharePoint Foundation, but after it I want to migrate all to the production ...
1
vote
0answers
101 views

Editorpart positioning at the bottom

I created my own custom editor part for my web part. But when I add it to the web part, it displays by default at the top, what i would like to have is to position it at the bottom. Anyona has any ...
0
votes
2answers
54 views

Problem with two loops on rendering in calendar

I have got problem with two loops. If I adding one its good, but with more it duplikates or more the values. I put this 3 Values {1/8, 1/8, 3/8} And want to get in sum 5/8. Because 1/8+1/8+3/8 = 5/8 ...
0
votes
3answers
56 views

Adding a Sum to callendar

I want to Sum values String Values of percents{1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8} which are strings. And I want to sum percent's in days. Only in this same day. I write a code, but it isn't work: ...
0
votes
1answer
74 views

Linq, how to put a indexes on Linq Query

I want to render a dates from list to the ASP Calendar. My list look like this: Kontrakt | Pracownik | Dzien | ID | Procenty -------------------------------------------- I made Linq Query, but ...
1
vote
1answer
129 views

Set PageLayout Object by Page Layout Name

I have code as part of an event receiver that creates a publishing page upon feature activation. That publishing page is built on a page layout that is deployed as part of that same feature. The ...
0
votes
1answer
398 views

CAML Query to Render a dates on Calendar

I am trying to learn CAML Queries. I must render a lot of data on Calendar. I made a code, but if it has got more then 1000 elements it's doing very long about 4-5 seconds. It's longer then adding to ...
0
votes
1answer
378 views

importing a site to a new site collection error

I tried using STSADM to export / import a site definition, it exported properly, but when i tried to import it, it gave me fatal error that couldn't find a webtemplate #id** with LCID 1033, both ...