Monday, 12 November 2012

Getting started with SharePoint 2013 development - prerequisites

What you need before you start:
1. You have to get Visual Studio 2012. Previous version is not enough.
2. You need to install Office Developer Tools for Visual Studio 2012. Get it from http://go.microsoft.com/fwlink/?LinkID=261869.

Unfortunately, the installation failed.

It says right there: "ensure that all instances of Visual Studio are closed". Then try again - go to Web Platform Installer 4.0 and search for "Office".

And now, it's all working.

Remember to start Visual Studio now as administrator.

Environment for creating farm solutions with SharePoint 2013

(Update from 2022: This article is about Preview version of SharePoint 2013. It may not be relevant anymore.)

Installing my development environment, I have:
1.  Virtual Machine with Windows Server 2012
2.  SharePoint Server 2013
3.  Visual Studio 2012
I need one more element - Visual Studio Tools

Using Platform Installer, I run into problems with Workflow Client 1.0 Beta

It seems, that Workflow Client 1.0 is already installed, and it is not Beta version.

UPDATE:
On 12 November, new version of Office Tools have been announced.  When you download this file, you will notice, that the name changes from "RTMPreview" to "GA".
I strongly recommend installing this version instead. Remember to close Visual Studio during installation.

Friday, 9 November 2012

Wstawianie pól wyboru w dokumencie Word 2010

Jak, korzystając z Worda 2010 dać możliwość wstawienia krzyżyka w kwadracie, tak aby w ten sposób móc zaznaczyć wybraną odpowiedź?

Aby dodać pole wyboru (pole, w którym użytkownik będzie mógł zaznaczyć krzyżykiem tak, czy nie) należy wykonać następujące kroki:

     1.  Najpierw należy kliknąć prawym klawiszem myszy (PKM) na wstążce i wybrać "Dostosuj wstążkę" 
  
2.  Następnie aktywować kartę "Developer" 
  
3.  Teraz, na karcie Deweloper, wybrać formant pola wyboru 
  
4.  Dodać wymaganą liczbę pól i opisy. Gotowe 

Tuesday, 6 November 2012

Cool feature of Excel 2013

I open new workbook in Excel 2013 and fill a column with some data.

Then I move to another column and start filling this one too. When I get to 3rd row and write first letter, it suggests a word. That was here before.

But watch me, as I continue typing:

And when I hit Enter, bam!, whole column filled with data. How cool is that?


Monday, 15 October 2012

Resource Throttling

How to solve this error?

The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.<nativehr>0x80070024</nativehr><nativestack></nativestack>

Go to your Central Administration and navigate to "Manage web applications"


Check your web application

Choose resource throttling from ribbon

Increase List View threshold to maximum number of items in one list.


Wednesday, 5 September 2012

Where is STSADM?

stsadm.exe location:
STSADM is a command line tool for SharePoint Server. Is is located under:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\STSADM.EXE

Tuesday, 28 August 2012

Where is disco.exe?

Disco.exe location:
On a computer with Windows 7 installed and Visual Studio 2010, the Web Services Discovery Tool (Disco.exe) can be found under:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin

Thursday, 16 August 2012

Built-in View Styles

Where to find built-in View Styles? There is a ID, and to find the name of a style you need the following:
Go to 14Hive\TEMPLATE\GLOBAL\XML\VWSTYLES.XML

The name of a style will be in in this format: $Resources:core,ViewStyleBoxedName;. Now, look for a resource file, that translates all this to English or language that your SharePoint is installed in.
Location: 14Hive\Resources\core.resx

The built in styles are:

0 - Basic Table
6 - Picture Library Details

7 - unnamed
8 - unnamed
9 - unnamed

12 - Boxed, no labels
13 - Boxed
14 - Document Details
15 - Newsletter
16 - Newsletter, no lines
17 - Shaded
18 - Issues Boxed
19 - Issues Boxed, no labels
20 - Preview Pane

Sources:
[1] Where to find strings for $Resources:core

Tuesday, 14 August 2012

Why you should not install Windows Essentials 2012

If you are using Windows Live Mesh to synchronize your folders between several computers and The Cloud or work remotely on your home/work computer, do not upgrade to Windows Essentials 2012 just yet.

As Mary Jo on ZDNET reports, if you decide to upgrade, your Live Mesh will be removed and replaced by SkyDrive. And SkyDrive does not yet have all the cool features of Mesh, like easy synchronizing your files across work and home computers, or controlling your computer remotely. 

However, if you do not need those features, and are already using Windows 8, you should consider upgrade. Especially the changes to Movie Maker are worth noting - it has now video stabilization feature, that will remove shaking effect on videos shot from hand. Interesting it would be to see, how much hardware resources  this feature eats up and how fast rendering is. BTW, YouTube already has this feature. After uploading videos, you can edit them and stabilize.

Saturday, 11 August 2012

Quick way to switch back from Google+ profile in Blogger

I connected my Blogger profile with Google Plus, but I didn't like it. Mostly, because this would affect ALL of my blogs. So, how to switch back to the old Blogger profile?


Click this when you are logged into your Google account, and you will land directly on a page where you can switch back to your old Blogger profile.