Commit eb726c2c authored by Frank Bergmann's avatar Frank Bergmann

- added user store

parent a00f8ee0
Ext.define('PO.model.User', {
extend: '',
config: {
fields: [
proxy: {
type: 'rest',
url: '/intranet-rest/user',
appendId: true, // Append the object_id: ../im_ticket/<object_id>
timeout: 300000,
extraParams: {
format: 'json', // Tell the ]po[ REST to return JSON data.
deref_p: '0',
columns: 'first_names,last_name'
reader: {
type: 'json', // Tell the Proxy Reader to parse JSON
root: 'data', // Where do the data start in the JSON file?
totalProperty: 'total' // Total number of tickets for pagination
writer: {
type: 'json' // Allow Sencha to write ticket changes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment