You can generate the URI yourself from whatever input parameter(s) you define. For example use the default namespace of the asset collection and append the number that was entered or whatever is shown in the example.
Holger > On 7 Dec 2023, at 10:33 pm, Rebecca Jackson <[email protected]> wrote: > > This is a great starting point - exactly what I needed. Is there a way to > access the auto-generated instance URI from this? It looks like the > 'focusNode' is for the class, is that correct? > > On Thursday, December 7, 2023 at 1:22:10 PM UTC-8 Holger Knublauch wrote: >> Hi Rebecca, >> >> See if this meets your use case >> >> https://archive.topquadrant.com/doc/latest/ext/points.html#constructors >> >> I can elaborate when needed, tomorrow. >> >> Regards, >> Holger >> >> >> >>> On 7 Dec 2023, at 9:59 pm, Rebecca Jackson <[email protected] <>> wrote: >>> >> >>> In EDG - is it possible to auto-populate required fields (rdfs:label, >>> skos:notation) for a new instance based on the constructed URI? >>> >>> Specifically, when a user creates a new instance of class X, the URI is >>> constructed using acronym + counter: http://example.com/FOO_1 >>> >>> We would like to auto-populate the skos:notation with the value "1" and >>> rdfs:label with "FOO_1", instead of having the user fill these values in >>> when they create the new instance. >>> >>> I understand that we can create property value rules, but it does not seem >>> that these are executed on instantiation. >>> >>> Thank you! >>> Rebecca >>> >> >>> -- >>> The topics of this mailing list include TopBraid EDG and related >>> technologies such as SHACL. >>> To post to this group, send email to [email protected] <> >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "TopBraid Suite Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected] <>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/topbraid-users/d4ae0274-0fb7-416d-960f-b786e5e2a7f4n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/topbraid-users/d4ae0274-0fb7-416d-960f-b786e5e2a7f4n%40googlegroups.com?utm_medium=email&utm_source=footer>. >> > > > -- > The topics of this mailing list include TopBraid EDG and related technologies > such as SHACL. > To post to this group, send email to [email protected] > --- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/dcd18b4f-ee25-4e6b-a9da-392a6170a1een%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/dcd18b4f-ee25-4e6b-a9da-392a6170a1een%40googlegroups.com?utm_medium=email&utm_source=footer>. -- The topics of this mailing list include TopBraid EDG and related technologies such as SHACL. To post to this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/E36CC141-2FC1-46EA-B8E5-85248A2AC835%40topquadrant.com.
