This task is currently locked by a running workflow and cannot be edited. Apa ini ?

Sudah 2 hari ini utak – atik workflow disharepoint. Kepingin buat sebuah workflow yang simple tapi configurable. setelah pikir sana pikir sini, akhirnya dibuat sebuah workflow seperti ini :

SPSeqWorkflowUpdate

Simple, cuma ada satu task. Workflow ini awalnya begini :

  • Load konfigurasi dari Infoparh form saat workflow aktif, simpan di memori
  • Create task berdasarkan konfigurasi yang ada.
  • saat user approve, ganti property AssignedTo pada workflow task, agar task pindah ke user yang lain
  • Jika sudah tidak ada user yg harus approve, workflow selesai / finish.

Tapi apa nyana… ternyata setelah dicoba, muncul error saat update property di task :

This task is currently locked by a running workflow and cannot be edited.

Upps.. apa yang harus dilakukan ? cari-cari solusi dengan om G, masih belum ada jalan keluar. Ada beberapa referensi yang bilang harus update Service Pack, sudah dilakukan tapi masih belum solve. Huh… nampaknya masih harus explore lebih jauh lagi nih..

Tunggu saja kabarnya, gimana cara solvenya… atau kalau ada masukan, please comment here…

Advertisements

Checklist for Creating SharePoint Web Parts

Development webpart di sharepoint merupakan suatu tantangan tersendiri. Hal utama dikarenakan yaitu  tidak ada UI ( WYSIWYG ) yang dapat dilihat. Semua dalam bentuk code. Selain itu, kompatibilitas dengan browser dan beberapa aspek lain sebenarnya harus menjadi perhatian lebih bagi developer.

Microsoft baru-baru ini merilis checklist, hal-hal yang harus dipaerhatikan dalam proses development webpart disharepoint.

hal-hal yang harus diperhatikan dalam ceklist ini adalah :

  1. Verifying Web Part Rendering
  2. Verify that Web Part Renders Appropriately Based On User permissions.
  3. Verify that Static Web Part Renders Appropriately and Does Not Cause Web Part Page to Fail.
  4. Verify that Web Part Appears Appropriately in Search Results.
  5. Verify that Web Part Previews Properly.
  6. Verifying Web Part Functionality
  7. Verify that Web Part Can Be Added to Web Part Zone.
  8. Verify that Web Part Works Correctly Regardless of Web Part Page Location.
  9. Verify that Web Part Caching Works Correctly.
  10. Verify that Changes Made in Personal View Are Not Reflected in Shared View.
  11. Verify that Web Part Can Handle Asynchronous Calls to Other HTTP Sites and Web Services.
  12. Verify that Web Part Works Correctly With Different Combinations of Zone Settings.
  13. Verify that Web Part Can Access Resources in Different Setup Configurations.
  14. Verify that Web Part Can Be Imported and Exported Correctly.
  15. Verifying Web Part Properties
  16. Verify that Web Part Property Attributes Are Correctly Defined.
  17. Verify that Web Part Properties Displayed in Tool Pane Are User-Friendly.
  18. Verify that Web Part Properties Are Not Dependent On Each Other.
  19. Verifying Web Part Error Handling
  20. Verify that Every Public Property Can Handle Incorrect User Input.
  21. Verify that Adding Several Instances of the Same Web Part to a web Part Page (or to the Same Web Part Zone) Works Correctly.
  22. Verify that Web Part Handles All of its Exceptions.

Penjelasan lebih lengkapnya dapat dilihat disini

Semoga berguna.

10 Tip untuk aplikasi ASP.NET

Bagi para developer ASP.NET, ada tip menarik yang dapat dijadikan referensi pada proses deploy aplikasi ke server production.

Berikut cuplikannya :

1.  Generate new encryption keys

When moving an application to production for the first time it is a good idea to generate new encryption keys.  This includes the machine validation key and decryption key as well as any other custom keys your application may be using.  There is an article on CodeProject that talks about generating machineKeys specifically that should be helpful with this.

2.  Encrypt sensitive sections of your web.config

This includes both the connection string and machine key sections.  See Scott Guthrie’s post for some good references.  Note that if your application runs in a clustered environment you will need to share a custom key using the RSA provider as described in an MSDN article.

3.  Use trusted SQL connections

Both Barry Dorrans and Alex Chang have articles which discuss this in detail.

 

Untuk lebih lengkapnya, cek disini

Semoga berguna 😀

How to Deploy Your webpart to Sharepoint Web?

Ya, kira-kira itulah yang sering muncul di kepala seorang developer yg baru terjun ke dunia webpart development for sharepoint seperti saya. Maklum, karena sebelumnya just copy paste your page/template(ascx) to your website and benk benk…. already done. Tapi di sharepoint, agak sedikit ribet.

So, untuk mengatasi keribetan itu, disarankan menggunakan tool yang namanya WSPBuilder. Cukup download dari CodePlex, install dan sudah bisa dipakai.

Bagaimana menggunakannya ? Cukup simple. Just create your webpart project. Create your own code, on project name, just right click your mouse and tick at WSPBuilder Menu –> Buid Webpart. Kalo mo deploy, cukup pilih menu deploy webpart. Done….

Simple kan ? Hehehe. Hopefully useful…..

Complete reference of all STSADM operations (with parameters) in MOSS 2007

Untuk melakukan deployement di sharepoint, biasanya tools yg standard kita gunakan adalah STSADM command. Tapi untuk melihat list lengkap dari command itu ( parameter ), kita harus didepan layar hitam [ aka dos command prompt ]

Untuk itu, saya copykan list lengkap dari STSADM command, yang diambil dari blog Jose Bareto.

Read more of this post

Silverlight and Sharepoint Integration

Bagi yang gemar bermain sharepoint dan ingin mengintegrasikannya dengan silverlight, tunggu saja. Microsoft sudah announce blueprint untuk hal ini.

berikut petikannya diambil dari sini:

Silverlight Blueprint for SharePoint

The Silverlight Blueprint for SharePoint is source code and guidance for developers describing how to use Microsoft Silverlight and Microsoft SharePoint Products and TePoint Products and Technologies using the modern graphics capability in Silverlight.

Cek saja di : <a title=”httperface elements. This capability enables a fresh look at data exposed through SharePoint Products and Technologies using the modern graphics capability in Silverlight.

Cek saja di : http://www.ssblueprints.net/sharepoint/

So, tidak lama lagi, sharepoint akan semakin funky tampilannya dengan silverlight. Tunggu saja……!!!!

Silverlight 2.0 Tutorial

Bagi rekan – rekan yang tertarik pada silverlight, mungkin referensi berikut dapat dijadikan acuan. Berikut link tutorial berseri dari blog Scott Guthrie :

  1. Part 1: Creating “Hello World” with Silverlight 2 and VS 2008
  2. Part 2: Using Layout Management
  3. Part 3: Using Networking to Retrieve Data and Populate a DataGrid
  4. Part 4: Using Style Elements to Better Encapsulate Look and Feel
  5. Part 5: Using the ListBox and DataBinding to Display List Data
  6. Part 6: Using User Controls to Implement Master/Details Scenarios
  7. Part 7: Using Templates to Customize Control Look and Feel
  8. Part 8: Creating a Digg Desktop Version of our Application using WPF

Semoga berguna……