xowiki::autoname proc new

 xowiki::autoname[i] new

Defined in

Testcases:
create_workflow_with_instance, xowf
Source code:
while {1} {
  set generated_name [:generate -parent_id $parent_id -name $name]
  if {[::xo::db::CrClass lookup -name $generated_name -parent_id $parent_id] eq "0"} {
    return $generated_name
  }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: