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

Determine a Mimics DocumentContent override value

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

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
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Determine a Mimics DocumentContent override value
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
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure Geo SCADA Expert Forum
harryc
Crewman harryc
Crewman

Posted: ‎2023-04-21 08:35 PM . Last Modified: ‎2023-05-02 11:44 PM

0 Likes
4
1047
  • 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: ‎2023-04-21 08:35 PM . Last Modified: ‎2023-05-02 11:44 PM

Determine a Mimics DocumentContent override value

Hi All,

 

In my database I have several group instances each containing a mimic. Some of these mimics are editable and others are not based on the templates "DocumentContent" property override. 


Attached is a screenshot of two mimic tabs. One of them is locked (i.e Design mode is unavailable as shown by the lock symbol) and the other is not.

 

Which attribute specifies if the mimic is modifiable? I have attempted to locate this attribute in the in the OPC viewer with no luck. The "$Config.DocumentContent" value is null for both mimics. 

 

 

 

 

Kind Regards,

 

Attachments
Labels
  • Labels:
  • Mimics
  • SCADA
  • Scripting
  • ViewX
  • Tags:
  • api
  • CMimic
  • DocumentContent
  • english
  • Mimic
  • Property Override
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2023-04-24 02:55 AM

1 Like
1
1028
  • 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: ‎2023-04-24 02:55 AM

I don't believe there is a database property which can tell you if a field is writable.

The .net client API does have access to this information in the PropertyMetadata object.

Reply

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

harryc
Crewman harryc
Crewman

Posted: ‎2023-04-24 09:44 PM

In response to sbeadle
0 Likes
0
1015
  • 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: ‎2023-04-24 09:44 PM

Hi Steve, 

 

I have modified the "ListAnimations" code from your github to use the .NET API instead of the ScxV6DBClient COM approach. 

 

Within the loop below I wish to identify if the selected DBObject mimic is writable with the PropertyMetadata object you have noted above. I have been unable to find out how to implement this. I could not find detailed information within the Visual Studio object browser. I also could not find reference to the PropertyMetadata within the Client API Guide.

 

Would you be able to help me with this implementation of the PropertyMetadata object or point to a further resource?

 

 

Extract from modified List Animations code

var group = connection.GetObject("TestFolder");
var mimics = group.GetChildren("CMimic", "");
foreach (DBObject mimic in mimics)
{

var AdvMimic = AdvConnection.FindObject(mimic.FullName);
//Add check here to Identify the PropertyMetadata.IsWritable value for the selected AdvMimic, Skip mimics if this is not writable

Console.WriteLine("Mimc, " + mimic.FullName.Replace("\"", "\"\""));
ProcessMimic(mimic, vwx, SystemName);

}

 

The intent here is be to skip past mimics which are not writable.

 

 

Many Thanks,

Reply

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

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2023-04-25 01:49 AM

1 Like
1
1011
  • 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: ‎2023-04-25 01:49 AM

Just spotted this which should help:

sbeadle_0-1682412555602.png

 

 

Reply

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

harryc
Crewman harryc
Crewman

Posted: ‎2023-04-26 01:45 AM

In response to sbeadle
0 Likes
0
991
  • 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: ‎2023-04-26 01:45 AM

Hi Steve,

 

Thank you kindly for your help. I managed to determine if a mimic was editable using a combination of the two properties below;

 

HasDocumentContentOverride – Returns TRUE on an unlocked mimic inside an instance and FALSE on locked mimics inside an instance.  It also returns FALSE on every other mimic w/o the property override.

IsControlledByInstance  - Returns TRUE if the mimic is controlled by an instance, i.e it is inside an instance that is part of its template (red arrow)

 

Using the below AND statement can determine if a mimic is locked or unlocked. Sample code below;

if (!AdvMimic.HasDocumentContentOverride & AdvMimic.IsControlledByInstance)
{
    Console.WriteLine("LOCKED Mimic");
}
else
{
    Console.WriteLine("UN-LOCKED Mimic");
}

 

 

Kind Regards,

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