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

learn more… | top users | synonyms (3)

1
vote
2answers
104 views

Confirmation Box while Item Adding event Moss

I need a confirmation box for Item Adding event on a custom document library, can someone tell me what would be the best way of doing it using C# or I don't mind using jQuery/Javascript plugin either. ...
0
votes
2answers
1k views

The type is not registered as safe “Custom Actions”

I am trying to create a custom actions using wsp builder, My folder structure is something like this, Now when I try to deploy solution nothing comes up however I get this error in my ULS log, ...
-1
votes
1answer
3k views

Modal pop up in Sharepoint

How to create modal popup in Sharepoint I want to put 3 or 4 times java script promth or alerts in the site. How should I made them ?
0
votes
1answer
138 views

Simple permissions question

I know how to grant someone certain role to a list (contribute or read for example) using C# such as: SPRoleAssignment userRoleAssignmentCont = new SPRoleAssignment(allUsers); ...
0
votes
1answer
204 views

Refresh Site from Adding Item

Hello I tried refresh Site from Adding Item, but if I try too Use SPUtility.Redirect("http://gzawistowskilap/SitePages/Event.aspx", SPRedirectFlags.Trusted, current); it's giving me a error which in ...
0
votes
1answer
354 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
37 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 ...
2
votes
4answers
2k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
1
vote
1answer
68 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?
0
votes
1answer
130 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 ...
2
votes
1answer
211 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
110 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 ...
1
vote
1answer
89 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 ...
0
votes
0answers
86 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}' ...
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 ...
-1
votes
1answer
92 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 ...
1
vote
2answers
676 views

Convert an SPTimeZone to a TimeZoneInfo Object

I am working with the Exchange Managed API on SharePoint and in order to correctly get date/time information from the Exchange Managed API I need to pass it a TimeZoneInfo object when initializing the ...
0
votes
1answer
59 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
vote
1answer
571 views

Creating Site column with a custom SPFieldType

i have this solution deployed on my sharepoint. http://ilovesharepoint.codeplex.com/releases/view/44989 And i created a Site column of type Lookup with picker that is from the above solution. ...
-1
votes
2answers
52 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
1k 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? ...
0
votes
2answers
536 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 ...
1
vote
1answer
61 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, ...
1
vote
2answers
89 views

How can one reset themes as they are changed?

Is there any way of catching when a theme is being changed -- so that I can fire a ThmxTheme.RemoveThemeFromWeb? The option to change the theme is currently hidden in our farm, but we can't disallow ...
1
vote
1answer
55 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
0answers
143 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
70 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
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
38 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
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
0answers
44 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
123 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
101 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
500 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 ...
0
votes
0answers
180 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 ...
1
vote
2answers
586 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
1answer
75 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
132 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
1answer
419 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.
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 ...
0
votes
2answers
251 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 ...
2
votes
2answers
105 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 ...
2
votes
3answers
111 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 ...
0
votes
2answers
57 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 ...
1
vote
1answer
679 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 ...
0
votes
3answers
61 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: ...
1
vote
0answers
106 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
1answer
434 views

List of Users in dropdownlist at adding form

When You adding a new element to the list, how made in adding item drop down list, where can users choise person which adding this thing to the list. I want to person have got a chance to choise ...
1
vote
1answer
139 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 ...
3
votes
1answer
431 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...