Decimal validation Failed for Portal Templates

Document ID : KB000105978
Last Modified Date : 11/07/2018
Show Technical Document Details
Issue:
When creating a custom template the user can add custom fields for the API. When using a decimal field the validation during usage on the portal will fail. This happens for all 4.x versions of the portal

Steps to reproduce:
1. created a policy encapsulation on API Gateway for use of developer portal. One of the input of the encapsulation is decimal.
input settings on the template


2. When try to use this template in the developer portal, it's not able to enter a decimal value. It complains 'This is an integer field' 

screenshot from portal
Resolution:
This is a defect with API Portal 4.x
Please use string or integer as input instead 

A fix is under development