Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

How to apply a custom property via the ETL Import database

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • How to apply a custom property via the ETL Import database
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
108
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
62
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure IT forum
Solved
wesburhoe
Ensign wesburhoe
Ensign

Posted: ‎2021-11-08 08:56 AM

0 Likes
3
1068
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-08 08:56 AM

How to apply a custom property via the ETL Import database

Hello Forum followers... Has anyone tried importing custom properties using the ETL Import database process? We tested the XLS manual import process via the desktop client, but that requires an asset NOT already EXIST. Seems we can set a custom property if we are also creating the asset at the same time... but that is not our use case.

 

We have defined a new custom property from the desktop client called "legacy_id". The use case... historically, we were modeling receptacles at the cage level, but have decided to destroy those CI's... and instead, recreate them at the rack level. In doing this, our integrations with external system require us to set a custom property on the new receptacle called "legacy_id" and fill it with the old ci_id value.

 

Hoping someone has encountered a similar use case... otherwise, we're aware of the RESTapi call option to set this value. Doing this data work via SQL insert statements is preferred.

Labels
  • Labels:
  • IT Advisor
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
wesburhoe
Ensign wesburhoe
Ensign

Posted: ‎2021-11-08 12:42 PM

0 Likes
1
1049
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-08 12:42 PM

 

-- Step 1 : Showing insertion of the ci into the etl import DB.
-- Must be present to perform auto association steps

 

INSERT INTO public.configuration_item
(ci_id, ci_barcode, ci_description, ci_fingerprint, ci_ip_address, ci_location, ci_manufacturer, ci_model_name, ci_model_number, ci_name, ci_serial_number, state_flag, state_last_synchronized, state_last_updated, cit_id)
VALUES(
'38b4439a-fe7d-4a27-b41c-9b4bb0c263bc',
'barcode',
'description',
'fingerprint',
'ip',
'location',
'manufacturer',
'model',
'model number',
'name',
'serial',
'new',
0, 0, 0);

 

-- Step 2 : Run the following SQL before and after triggering ETL job to run
-- Expect to see state_flag change from new to synced

 

select ci_id, state_flag from configuration_item ci where ci_id = '38b4439a-fe7d-4a27-b41c-9b4bb0c263bc';

 

-- Step 3 : Now insert the custom property.
-- Example shown setting custom property legacy_id

 

INSERT INTO public.configuration_item_property (ci_id, cip_name, state_flag, state_last_synchronized, state_last_updated, cip_value, pt_id) VALUES('38b4439a-fe7d-4a27-b41c-9b4bb0c263bc','legacy_id', 'new', 0, 0, '38b4439a-fe7d-4a27-b41c-9b4bb0c263bc', 2);

 

-- Step 4 : Run the following SQL before and after triggering ETL job to run
-- Expect to see state_flag change from new to synced

 

select * from configuration_item_property cip
where cip_name = 'legacy_id' and ci_id = '38b4439a-fe7d-4a27-b41c-9b4bb0c263bc';

 

-- Step 5 : Trigger the ETL Export job
-- Verify custom property now present in the export

See Answer In Context

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 3
gsterling
Captain gsterling Captain
Captain

Posted: ‎2021-11-08 11:32 AM

0 Likes
0
1058
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-08 11:32 AM

Have been responding to the customer directly.

 

I have found via an ETL import database it is possible to add custom properties to receptacles. I have been able to do this successfully.

 

Looking into whether this causes any unforseen caveats.

 

Greg Sterling

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

wesburhoe
Ensign wesburhoe
Ensign

Posted: ‎2021-11-08 12:42 PM

0 Likes
1
1050
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-08 12:42 PM

 

-- Step 1 : Showing insertion of the ci into the etl import DB.
-- Must be present to perform auto association steps

 

INSERT INTO public.configuration_item
(ci_id, ci_barcode, ci_description, ci_fingerprint, ci_ip_address, ci_location, ci_manufacturer, ci_model_name, ci_model_number, ci_name, ci_serial_number, state_flag, state_last_synchronized, state_last_updated, cit_id)
VALUES(
'38b4439a-fe7d-4a27-b41c-9b4bb0c263bc',
'barcode',
'description',
'fingerprint',
'ip',
'location',
'manufacturer',
'model',
'model number',
'name',
'serial',
'new',
0, 0, 0);

 

-- Step 2 : Run the following SQL before and after triggering ETL job to run
-- Expect to see state_flag change from new to synced

 

select ci_id, state_flag from configuration_item ci where ci_id = '38b4439a-fe7d-4a27-b41c-9b4bb0c263bc';

 

-- Step 3 : Now insert the custom property.
-- Example shown setting custom property legacy_id

 

INSERT INTO public.configuration_item_property (ci_id, cip_name, state_flag, state_last_synchronized, state_last_updated, cip_value, pt_id) VALUES('38b4439a-fe7d-4a27-b41c-9b4bb0c263bc','legacy_id', 'new', 0, 0, '38b4439a-fe7d-4a27-b41c-9b4bb0c263bc', 2);

 

-- Step 4 : Run the following SQL before and after triggering ETL job to run
-- Expect to see state_flag change from new to synced

 

select * from configuration_item_property cip
where cip_name = 'legacy_id' and ci_id = '38b4439a-fe7d-4a27-b41c-9b4bb0c263bc';

 

-- Step 5 : Trigger the ETL Export job
-- Verify custom property now present in the export

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-11-11 01:18 AM

In response to wesburhoe
0 Likes
0
1018
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-11 01:18 AM

Hello,

 

I profoundly like your dedicated abilities as the post you distributed has some incredible data which is very valuable for me.

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of