login Signup

How do I set a property's Description field from DSL in ElectricFlow?

Using ElectricFlow 7.0.1, I can set a property's description from ectool like this:

 /ectool setProperty /projects/MyProj/foo --value bar --description "My description"

But, how do I set the description using DSL? Doing:

 ectool generateDsl /projects/MyProj

...I see DSL that looks something like this:

 project 'MyProj', {
   description = 'My test project'
   resourceName = null
   workspaceName = null

   // Custom properties
   foo = 'bar'

But, I don't see the property's description. Is the description even settable from DSL? If so, what is the syntax? Thanks!

avatar image By scottn 75 asked Feb 04, 2017 at 12:48 AM
more ▼
(comments are locked)
10|750 characters needed characters left

1 answer: sort voted first

this works for me:

 project "sandbox", {
   property "foo", value: "bar", description: "this is foo property"

avatar image By lrochette 5.9k answered Feb 06, 2017 at 04:53 PM
more ▼
(comments are locked)
avatar image scottn Feb 07, 2017 at 05:43 PM

Thanks! That works. I wasn't aware of the expanded syntax for setting properties.

10|750 characters needed characters left
Your answer
toggle preview:

Up to 8 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.