Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 257
1 ACCEPTED SOLUTION

anilsr
Former Googler

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

anilsr
Former Googler

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..