Can't able to login

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

Re: Can't able to login

It seems to be correct syntax only, Here is the content of the xml 

<?xml version="1.0" encoding="UTF-8"?>
<model name="my:requirementsContentModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

<description>Requirements Content Model</description>
<version>1.0</version>

<imports>
<!-- Import Alfresco Dictionary Definitions -->
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<!-- Import Alfresco Content Domain Model Definitions -->
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
<!-- Import Alfresco System Model Definitions -->
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
</imports>

<namespaces>
<namespace uri="http://www.mycompany.com/model/content/1.0" prefix="my"/>
</namespaces>

<types>
<type name="my:salesCustomerCare">
<title>Sales and Customer Care</title>
<parent>cm:content</parent>
<desciption name="my:contractCopies">
<properties>
<property name="my:contractTypes">
<title>contract types</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:contrctNumbers">
<title>contract numbers</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:clientName">
<title>client name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:contractStart">
<title>contract start date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:contractEnd">
<title>contract end date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
</properties>
</desciption>
<desciption name="my:wrcTenancyCertificate">
<properties>
<property name="my:dateOfApplication">
<title>date of application</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:referenceNo">
<title>reference number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:leaseIssueDate">
<title>lease issue date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:leaseExpiryDate">
<title>lease expiry date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:contractNumber">
<title>contract number</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:tenantName">
<title>tenant name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:tenantCompany">
<title>tenant company</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</desciption>
<description name="my:tradeLicense">
<properties>
<property name="my:licenceNumber">
<title>license number</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:companyName">
<title>company name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:legalType">
<title>legal type</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:expiryDate">
<title>expiry date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:issueDate">
<title>issue date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
</properties>
</description>
<description name="mySmiley TongueowerOfAttorney">
<properties>
<property name="mySmiley SurprisedwnersName">
<title>owner's name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="mySmiley TongueassportCopies">
<properties>
<property name="my:name">
<title>name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:nationality">
<title>nationality</title>
<type>d:text</type>
<mandatory></mandatory>
</property>
<property name="my:dateOfBirth">
<title>date of birth</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:sex">
<title>sex</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:expiryDate">
<title>expiry date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:emiratesId">
<properties>
<property name="my:name">
<title>name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:idNo">
<title>identification number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:nationality">
<title>nationality</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:dateOfIssue">
<title>date of issue</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:dateOfExpiry">
<title>date of expiry</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:specimenSignature">
</description>
<description name="my:authorizations">
<properties>
<property name="my:startDate">
<title>start date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:endDate">
<title>end date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:documentTitle">
<title>document title</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:undertakingLetter">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:to">
<title>to</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:documentTitle">
<title>document title</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:chequeCopies">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:chequeNumber">
<title>cheque number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:accountNumber">
<title>account number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:companyName">
<title>company name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="mySmiley TongueaymentReceipts">
<properties>
<property name="my:receiptNumber">
<title>receipt number</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:supplierName">
<title>supplier name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:emailCorrespondence">
<properties>
<property name="my:companyName">
<title>company name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:status">
<title>status</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:caseType">
<title>case type</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:contactPerson">
<title>contact person</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:expectedClosingDate">
<title>expected closing date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="mySmiley Tongueriority">
<title>priority</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
</properties>
</description>
<description name="my:clientLetters">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:subject">
<title>subject</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:clientName">
<title>client name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:wrcModificationForm">
<properties>
<property name="my:referenceNumber">
<title>reference number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:dateOfApplication">
<title>date of application</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:location">
<title>location</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:contractNumber">
<title>contract number</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:leaseStart">
<title>lease start</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:leaseEnd">
<title>lease end</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:lease">
<title>lease</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:zonescorpNoc">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory></mandatory>
</property>
<property name="my:referenceNumber">
<title>reference number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
</description>
<description name="my:caa">
<properties>
<property name="my:clientName">
<title>client name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:contractNumber">
<title>contract number</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:expiryDate">
<title>expiry date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:clientAge">
<title>client age</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:referenceNumber">
<title>reference number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:caaDate">
<title>caa date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
</properties>
</description>
<description name="my:ccrCopies">
<properties>
<property name="my:companyName">
<title>company name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:status">
<title>status</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:caseType">
<title>case type</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:contactPerson">
<title>contact person</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:contractNumber">
<title>contract number</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:expectedDaysToClose">
<title>expected days to close</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
</description>
<description name="my:guaranteeLetters">
<properties>
<property name="my:companyName">
<title>company name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:licenseNumber">
<title>license number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:contactPerson">
<title>contact person</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="my:guarantor">
<title>guarantor</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:notificationLetters">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:referenceNumber">
<title>reference number</title>
<type>d:text</type>
<mandatory></mandatory>
</property>
<property name="my:recipient">
<title>recipient</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:fax">
<title>fax</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:email">
<title>email</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:subject">
<title>subject</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:clearance">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:referenceNumber">
<title>reference number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:to">
<title>to</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:from">
<title>from</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:subject">
<title>subject</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:clientName">
<title>client name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:incidentReport">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:incidentType">
<title>incident type</title>
<type>d:list</type>
<mandatory>false</mandatory>
</property>
<property name="my:clientName">
<title>client name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
<description name="my:quotationConfirmation">
<properties>
<property name="my:date">
<title>date</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="my:referenceNumber">
<title>reference number</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="my:companyName">
<title>company name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="my:quoteNumber">
<title>quote number</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</description>
</type>

</types>

</model>

Highlighted
Senior Member II

Re: Can't able to login

Below are few findings which are wrong in your content model.

  • Description tag is not allowed in content model, Its not a valid tag
  • I think description should be replaced with type and from your file type should be removed.

I think by doing above your code will work.But still please verify content model stuff by referring below link.

Deploy a model | Alfresco Documentation 

If you still face the issue, please put the log also.

Highlighted
Active Member

Re: Can't able to login

thank you krutik, issue with content model only,after removing that xml file and bean dependencies i can login now. I am referring the page which you are mentioned, I will start newly to create a content model again.