Wednesday, March 28, 2012

How to create custom buttons i Sharepoint 2010

To create custom buttons in the ribbon menues

1. Open Sharepoint Designer, open the relevant list

2. Choose Custom Actions from the Custom Actions ribbon image

3. Choose Display Form Ribbon to create a button i the Display Form.

3.1 Set a name

3.2 Choose which workflow to start or a url

3.3 Under Button Image give siteadress to a buttonicon.

3.4. In the field for Ribbon Location the string Manage can be exchanged for another ribbongroup. For example Action. This way we can control where our button is displayed. With the help of Sequence numbering the order in which they’re shown can be controlled aswell.

image

image

Tuesday, March 27, 2012

Annoying liveupdate error in backup exec 2010 R3

This error was showing when I tried to run liveupdate image

I solved by doing the following:

1) Open the command prompt and browse to the following directory C:\Program Files\Symantec\Backup Exec\

2) Run BeUpdateOps.exe -AddBE -OptOut

3) Run LiveUpdate

Done! Second time this error occurs, but maybe sp2 will have solved it…

References:

http://www.symantec.com/business/support/index?page=content&id=TECH66265

Wednesday, March 21, 2012

Create a task-list with mailto-function

To create a tasklist with ability to receive mail the following steps were required.
1.Create a list based on Task, for example weeklymeeting
2. Create a list based on Announcements, for example incomming
3. In the list incomming, activate mailto support (Communications>Incomming e-mail settings>Allow list to receive e-mail)
4. In list incomming, create an associated workflow in SPD. Make it autostart when item is created.
5. Edit workflow to Create Item in weeklymeeting, copy relevant fields like Name and Body to new fields in weeklymeeting from incomming.  Then Delete item in CurrentItem.
image

Tuesday, March 20, 2012

Can’t get workflow to start when mailing to list

I just had major problem with getting a workflow to start when mailing to a sharepoint 2010 list. I found this solution to the problem. Not really obvious so im putting it here.
Error description: When mailing to announcement or document library list, a workflow configured to start when new item is created, doesn’t start. When creating item manually in list the workflow kicks off without any problems.
Solution: On the sharepoint server. Check if mailto list is enabled
/> stsadm -o getproperty -pn declarativeworkflowautostartonemailenabled
if this is returned: <Property Exist=”No” />
or <Property Exist="Yes" Value="fales" />
Then run /> stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true
It will take a few seconds but after this the workflow starts when mail is received to the list.