You are viewing limited content. For full access, please sign in.

Question

Question

Updating Metadata Field

asked on June 7, 2022

…. I have a question to ask related to some errors we are getting in the LF Administration console.  A brief explanation is below and images are attached… 

 

We are wanting to add a “Constraint” to an existing data field used on multiple Metadata Templates.  The field in question is “TWIST ID”.  It is current set to “text” & 40 characters.  We are trying apply the constraint “\d[0-9]+” to this field to limit input to numerical characters only, but we are getting an error when we try to apply it.

 

 

Error Code: 784

Error Message: Operation timed out. [784]

 

------------ Technical Details ------------

 

LFSO:

    Call Stack: (Exception)

        LFSession::SendRequest (PUT /+LF/prop?id=15)

        CLFTemplateField::SendPropertiesToServer

        ILFObjectImpl::Update

    Additional Details:

        ERROR: 784 (TestLastError, lfsession.cpp:930)

         (LFSO/10.4.2.85)

LFAdmin.dll (10.4.2.236):

    Call Stack: (Current)

        CField1PropPage::OnApply

    Call History:

        CField1PropPage::FillInFormatExample

        CLocalizedObjectsPropPage::OnInitDialog

         CLocalizedObjectsPropPage::InitializeList

        CField1PropPage::OnBnClickedBtnField1Constraints

        CField1PropPage::OnApply

         CField1PropPage::FieldOK

         CLocalizedObjectsPropPage::OnQuerySiblings

         CField1PropPage::LoadObject

TWIST UPDATE.png
TWIST UPDATE2.png
TWIST UPDATE.png (46.18 KB)
0 0

Replies

replied on June 7, 2022

I think what you need is just "\d+".  It has been my experience that the constraint field does not like character ranges.

3 0
replied on June 7, 2022

Will give that a try. I used that in Forms for a similar field. Doesn't mean the repository field logic is the same as Form fields. Thanks.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.