Configure tagged value in Enterprise Architect without configuring it in tagged value types - enterprise-architect

I want to get a tagged value named "ea_guid" under the "Tagged values" section of a particular Operation(Please refer to Image 1-this is our local environment). Here, under the Operation section, I want to add this tagged value. But I want to add it such that it doesn't exist in UML-Types->Tagged Values(Please refer to Image 2).
How can I do this?

If you add a tagged value using the New tagged value button (highlighted in the image below), you can type a new name for your tag instead of selecting an existing tagged value type.
Doing this doesn't automatically create a new tagged value type (tested in v15.2)

Related

Difference between UserProperties.Add and UserProperties.Set functionality in FlurrySDK

I'm using Flurry Analytics in my Unity game and I want to use Flurry UserProperties.
My question is about the difference between the functionality of UserProperties.Add and UserProperties.Set methods in FlurrySDK.
In the documents there is following description :
Set :
Sets and replaces (if any exist) the value(s) for the property.
Add :
Adds a User Property value(s). Adding values already included in the state has no effect and does not error.
Can I just use Flurry.UserProperties.Add whenever I need to set/add an UserProperty for a user and ignore Flurry.UserProperties.Set?
or I need to first define every property with Flurry.UserProperties.Add to be added in Flurry's panel and then use Flurry.UserProperties.Set to set them for a specific user?
Add adds to existing values, while Set removes existing values and then adds the new one
To create your custom User.property you do it in the Admin Panel of Flurry.
Set, clean your property and set with your last value you send.
Add , preserve the old values and add a new value to your property.

Project Level DrawnBy Parameter in Altium

I have a Schematic template that refers to the DrawnBy parameter and others to fill in the title block. This works fine if I edit each sheet's document parameters to display the correct information. However, I want to use the project parameters to fill in the relevant information.
The schematic documents have default parameters such as, DrawnBy, Revision, etc, that override the project parameters so each sheet needs to be manually edited for author, dates, and revisions.
How do you override the default document parameters with project parameters?
This would be a better fit for the electronics.stackexchange.com site.
On the schematic document or template (sheet), each field is represented by using the custom text =ParameterName. Once you have the document open in the context of a project, you can add project-level parameters via the menu Project > Project Options, Parameters tab. Add the parameter using the same name that was used on the document. All documents sharing the parameter name will inherit the value entered here.
Don't add any parameter to this list that should be unique to each sheet.
For more information:
Altium Designer: Project Options - Parameters
Electronics StackExchange: Project parameters as variable in Altium

Readonly property for RefGuidlist tagged value

We have created a tag value type RefGuid list. Now I want the user to only view not to edit it.So is there any way to provide an option read-only for the tagged value type RefGuid
Not out of the box. You can probably create an add-in that hooks to EA_OnNotifyContextItemModified. However, this does not return tagged values but only the container (e.g. EAObject). So in order to see what has changed in the tagged values you also need to subscribe to EA_OnContextItemChanged to save the current state before eventually the ...Modified is fired.
You also create an add-in and "subscribe" to the tagged value edit events, see the manual for the different events depending on the tagged value owner.
The tagged value needs be of type AddinBroadcast. When the user tries to edit the tagged value, the event will be triggered and your add-in can handle this.
In the case of read-only the handling will be more of a "not handling".

How to hide the value of a tag in Enterprise Architect documentation

I made a custom template on Enterprise Architect that is a slight modification of the requirements template that came with the program. I edited the template to make it that the value of a specific tag will also be included in the documentation.
"Requirement Type: {Element.valueOf(****)}"**
However, not every element in my document has a value for that specific tag. Is there a way I can have that line show up only when the tag has a value? Or have the documentation say
""Requirement Type: none"
if there is no value?
I am using EA version 8.0.860 from Sparx Systems
If you are using version 10, there is a new feature called Fragment Template. You could move the specific part of the document that you would like to show/hide into a Fragment Template by performing the following steps:
Create a new Fragment Template
Configure the fragment, e.g.
package>
diagram>
element>
Requirement Type: {Element.valueOf(****)}
<element
<diagram
<package
On the Document Options, go to Element Filter tab
Click Add Filter
On the drop-down Search On, choose TagValue
Check the Property, set Condition to "Equal To", and set the value as the Tag name
Check the Value, set Condition to "Equal To", and do not set the value
Check the Required, then press OK button to close Add Filters window. This means that if the Tagged Value has no value, it will not be shown.
Press OK button to close Document Options window
You may create more than one fragment according to your needs.
Import the fragment template into your main template.
But since you are using version 8, IMO the options that you have are:
Adding "Requirement Type:" text into every Tagged Value that has value
OR, adding "none" into every Tagged Value that has no value.
You could create an EA Script to automate number 1 and number 2, because those are repetitive tasks.

How to add a non editable field using install4j - value of this is not static and should be displayed from a user defined variable

I would like to be able to add a key/value pair label in an install screen. The key is a static text. The value is a dynamic value and a value from a variable should be used to display the value label. I'm not able to do so using install4J. I see options like a textArea, textfield that will enable to be able to do so. However, these are editable fields and does not serve my purpose. I want a non editable field to display a value from a variable. This is not a system variable. This should be a user defined variable. I'm using install4j 4.2 version. Any help in this area is highly appreciated.
Thanks for the response. I was able to create key/value pair. However, I'm not able to define my own installer variable. Can you please let me know where I can define an installer variable that can be used in the key/value pair?
There is a "Key value pair" form component that does exactly what you need. It is available in install4j 4.2.
In the "Value label/Text" property, you can use an installer variable like
${installer:myValue}
for displaying dynamic text.