CDT became invalid after modifying its precedent CDT

I had a CDT which has a couple of primitive datatype fields and a CDT field. When I changed the child CDT (Added two more fields) then the parent CDT became invalid. Now I am not able to refer to it on any interface using type! and also when I try to open the CDT, it opens in read-only and doesn't show any columns. Also, there isn't any option to download the XSD. I have attached all the supporting screenshots below.

p.s. None of the CDTs were mapped in a DS. Both were being used on the Appian side only. 

  Discussion posts and replies are publicly visible

Parents
  • That seems weird - are you able to export it in a package / patch? That might at least allow us to see what the current structure of the CDT is.

  • 0
    Certified Lead Developer
    in reply to Peter Lewis

    Yes, I did. Attaching the code below.

    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="urn:com:appian:types:VP"
      xmlns:tns="urn:com:appian:types:VP" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <xsd:complexType name="VP_createProducts">
        <xsd:annotation>
          <xsd:appinfo source="http://www.appian.com/ae/types/2009">
            <ns2:Metadata xmlns:ns2="http://www.appian.com/ae/types/2009">
              <ns2:versionUuid>0001e60d-7f4b-8000-fcd4-7f0000014e7a</ns2:versionUuid>
              <ns2:history>
                <ns2:historyInfo versionUuid="0001e60d-7f4b-8000-fcd4-7f0000014e7a"/>
              </ns2:history>
            </ns2:Metadata>
          </xsd:appinfo>
        </xsd:annotation>
        <xsd:complexContent>
          <xsd:extension base="xsd:anySimpleType"/>
        </xsd:complexContent>
      </xsd:complexType>
    </xsd:schema>

  • The part that seems strange to me is the section that says <xsd:complexContent>. I'm not certain what caused that to be added, but it's probably the reason you're unable to edit the CDT. Was this a CDT that was created via import of a database table or a plug-in or something? If you have this file you might at least be able to open a support ticket to see if they have seen this before. 

Reply Children