Hi all
First of all, I am new to K2. I have a production setup k2 server with workspace. I am in the process of creating a development environment.
I took the production copy and working on creating development environment.
I am using 'Dynamic Sql Service' and smart objects.
My question is Where do I need to update the 'GUID'?
Eventhough, the smart objects are now pointing to DEV, after I submit my form, the records are getting updated in production db. But I want the records to be getting updated in DEV db.
Please help me if you came accross the same situation.
Thanks in advance.
Ravi
Hi,
The GUID need to be updated at the service object instance level. This can be done when you are declaring the new instance using the Broker Management Console (%K2 blackpearl installation directory%\ServiceBroker\)... you can't set your own GUID when you are declaring a new instance using the K2 Workspace interface.
In the Broker Management Console, you can get your GUID looking at the Service Instance XMl Definition.
Now, if you need to update the GUID of existing Service Object instance, you can delete your instance and re-create it with the borker management console setting your required GUID or you can use the "Service Instance Synchronizer Utility"... which it, you can view and update GUID very easily (without deleting).
HTH
PS: in your case, you need to create in your dev environnement an instance of your Dynamic SQL Service pointing on your TEST DB... and to facilitate the moving between TEST and PROD environment you need to have the same GUID on the 2 plateforms.
JanThe statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
Hi
First of all, thanks for your reply. When I run the "broker management.exe", I am able to see the services, There are about 10 services like workflow service, sharepoint service etc with guids..
Example : servicetype name = "k2.blackpearl.ukeu.serviceobjects.dynamicsql.servicebroker" guid ="dc97........."
My question here is, do i need to create one guid for each and every one for my development setup?
If yes, how do I have to create one?
Please let me know.
Thanks for your help in advance.
Hi Ravi,
Did you install yourself the DynamicSQL Service?
You have 2 concepts to know :
What you need in your case: you need to check that in your dev environment and in your prod environment, you have the same services available and the service instance you use need to have the same GUID.
I hope this makes sense.
Hi Jan
Thanks for your help.
I did install DyanmicSQLService. (I copied from production). Is it OK or I have to install.?
When I open the 'brokermanagement.exe', I see the services.
Under dynamicsqlservice (The guids are different in prod and dev)
When I checked in prod, I was able to see the guid in .sodx file name through visual studio.
But In dev, I am trying to look at the guid in .sodx file, I am not able to view in XML format like below. I am seeing only the the screen with smartobject methods and smart object properties..
In prod, I am able to see like below.
====================================
<
</
=========================
I want to see the same in DEV also.
What do I need to do..
I checked the smartobject services through k2workspace and it looks ok.
Thanks and please let me know.