How to define Custom Attributes with empty value on Edge Management UI

Not applicable

Hello,

This is a question on DevApps Custom Attributes added on DevPortal and shown on Edge Management UI - Publish/Dev Apps menu. If the value of the attribute is empty a message of 'This field is required.' is displayed and it cannot be saved and thus the status will not become 'Approved'. Then how can we do with a case where the values are unknown initially but users can assign them sometime later only when the service is started?

Regards,

Toshi

Solved Solved
0 3 211
1 ACCEPTED SOLUTION

Dear @Toshihiro Shibamoto ,

Seems like UI validation that stops you from creating an attribute with empty value.

But, Using API call you can set empty value once your app is created & it works.

POST /v1/organizations/{ORGNAME}/developers/{DEVELOPER_EMAIL}/apps/{APPNAME}/attributes/{ATTRIBTUE_NAME}

Request Body :

{"value" : ""}

See empty value in APIGEE Edge UI after above API call..

751-screen-shot-2015-07-13-at-115942-am.png

Cheers,

Anil Sagar

View solution in original post

3 REPLIES 3

Dear @Toshihiro Shibamoto ,

Seems like UI validation that stops you from creating an attribute with empty value.

But, Using API call you can set empty value once your app is created & it works.

POST /v1/organizations/{ORGNAME}/developers/{DEVELOPER_EMAIL}/apps/{APPNAME}/attributes/{ATTRIBTUE_NAME}

Request Body :

{"value" : ""}

See empty value in APIGEE Edge UI after above API call..

751-screen-shot-2015-07-13-at-115942-am.png

Cheers,

Anil Sagar

Hello @Anil Sagar,

Thank you so much for the answer quickly. That should be a good solution.

@Toshihiro Shibamoto , Anytime 🙂 Glad, Issue has been resolved..