Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
3711 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
We need to integrate Appian with a system that has a MS SQL Server database with
JEAN PIERRE
over 10 years ago
We need to integrate Appian with a system that has a MS SQL Server database with lots of fields of type DECIMAL.
We have problems defining our DataStores in Appian. It seems that Appian does not support DECIMAL types? This would be a catastrophe for our project...
We need support....
OriginalPostID-129092
OriginalPostID-129092
Discussion posts and replies are publicly visible
0
shivakanthr
over 10 years ago
forum.appian.com/.../Defining_a_Custom_Data_Type
refer this datatypes
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
SQL Server DECIMAL types are not supported...This means that it is not possible to integrate Appian to any database with this type? I can't believe this. Is this type so unusual?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Would you mind explaining what you mean by "We have problems defining our DataStores in Appian" how are you trying to define these fields in your XSD? an example would be useful
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
Find 3 files:
1. Screen of the error
2. XSD file with the CDT definition
3. Design view of the corresponding SQL Server table
ExpenseReport.xsd
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shivakanthr
over 10 years ago
@Jp
You might have selected Number(Integer) for field in CDT
it should be Number(Decimal).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
This is the CDT definition. It seems right to me...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Simply edit the XSD and add the @Column() annotation to specify the specific data type as explained here:
forum.appian.com/.../Defining_a_Custom_Data_Type.html
This is an example to map an Appian Text Field to a CHAR(40) Non-nullable column:
<xsd:element name="name" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">
@Column(columnDefinition="CHAR(40) NOT NULL")
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
when editing the XSD you need to delete the CDT and re-upload the new version then run impact analysis or manually remap the data store so it points to the latest version of the CDT.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
It worked! Thank you so much! We can move on.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel