Notifications
Clear all

UiMetaModel XML is Invalid.

1 Posts
1 Users
1 Likes
6,593 Views
0
Topic starter

A developer is going through the "Configuring NEO Widgets" tutorial and got the error message "UiMetaModel XML is Invalid."

screenshot:

image

code from line 32 of the developer's UiMetaModel:

<NeoWidgetType name="MoneySpent" componentPath="PLT/Widgets/KPI">
	<AllowedLayouts>COLUMNAR,FIXED,FLEXIBLE</AllowedLayouts>
	<PreviewImagePath>/oms/img/neo/widgets/kpi/kpi1.png</PreviewImagePath>
	<Config>
{                   
  "reportName": "EXTR.TransactionTotal",
  "valueColumnName": "EXTR$Transaction$PriceAmount",
  "uomColumnName": "EXTR$Transaction$PriceUOM",
  "severityColumnName": "Undefined$PRICE_AMOUNT",
  "emptyValue": "0",
  filters: {filters: {"Undefined$Timeline_displayValue":"Money Spent","Undefined$Timeline":"Money Spent"}}
}

What is the best way to solve this issue?

1 Answer
1
Topic starter

The UiMetaModel is picky about the order of elements. It wants you to group elements WebAction, WebActionGroup, etc. together in a certain order.

The developer was able to solve the issue by putting that NeoWidgetType element near the top of UiMetaModel, right below WebInfo.