EPM - Copy LCD Key Between Sets
82
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 13:04 PM
Objective
Issue:
You may wish to copy the Loosely Connected Device (LCD) key between sets. Attached to this article (Sync_LCD_Key.zip) are a script that will do that for you, and instructions on how to use the script.
Environment
10.4;10.5;10.6;10.7;10.8;10.9;10.10
Procedure
The attached script should copy the security key value from one set to another.
1. Make sure the DB connection points To VFEVENTSDB5 When running
2. Assumption: the 2 sets are in the same DB
3. Input parameters:
Source Set
Source Policy name
Target Set
Target policy name
From the beginning of the script:
--Source Policy Name & SetId
@SourcePolicyName nvarchar(512) = N'LCD1',
@SourceSetId uniqueidentifier = '365C75BC-10DF-4F5A-BE42-EE6CBBCCE4D0',
--Target Policy Name & SetId
@TargetPolicyName nvarchar(512) = N'testpolicy',
@TargetSetId uniqueidentifier = 'D9D7BC47-7601-4464-B2A4-F037FFBC325F'
The security key value should be copied from the policy in the source set to the policy in the target set.