"Team": {
"type": "link-multiple",
"view": "views/fields/teams"
}
but it isnt working, the option menu shows but netbeans gives me this error Uncaught Error: A "url" property or function must be specified (18:20:47:609 | error, javascript)
at client/espo.min.js:6
Line 6 as this:
ar i=this.modelId(t.attributes);null!=i&&(this._byId[i]=t),t.on("all",this._onModelEvent,this)},_removeRe ference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes);null!=i&&delete this._byId[i],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)} ,_onModelEvent:function(t,e,i,r){if("add"!==t&&"re move"!==t||i===this){if("destroy"===t&&this.remove (e,r),"change"===t){var n=this.modelId(e.previousAttributes()),s=this.mode lId(e.attributes);n!==s&&(null!=n&&delete this._byId[n],null!=s&&(this._byId[s]=e))}this.trigger.apply(this,arguments)}}});var S={forEach:3,each:3,map:3,collect:3,reduce:4,foldl :4,inject:4,reduceRight:4,foldr:4,find:3,detect:3, filter:3,select:3,reject:3,every:3,all:3,some:3,an y:3,include:3,includes:3,contains:3,invoke:0,max:3 ,min:3,toArray:1,size:1,first:3,head:3,take:3,init ial:3,rest:3,tail:3,drop:3,last:3,without:0,differ ence:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1 ,chain:1,sample:3,partition:3,groupBy:3,countBy:3, sortBy:3,indexBy:3};o(x,S,"models");var I=e.View=function(t){this.cid=i.uniqueId("view"),i .extend(this,i.pick(t,P)),this._ensureElement(),th is.initialize.apply(this,arguments)},T=/^(\S+)\s*(.*)$/,P=["model","collection","el","id","attributes","class Name","tagName","events"];i.extend(I.prototype,l,{tagName:"div",$:function( t){return this.$el.find(t)},initialize:function(){},render:f unction(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_ removeElement:function(){this.$el.remove()},setEle ment:function(t){return this.undelegateEvents(),this._setElement(t),this.d elegateEvents(),this},_setElement:function(t){this .$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=i.result(thi s,"events")),!t)return this;this.undelegateEvents();for(var e in t){var r=t[e];if(i.isFunction(r)||(r=this[r]),r){var n=e.match(T);this.delegate(n[1],n[2],i.bind(r,this))}}return this},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),this },undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid) ,this},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),thi s},_createElement:function(t){return document.createElement(t)},_ensureElement:function (){if(this.el)this.setElement(i.result(this,"el")) ;else{var t=i.extend({},i.result(this,"attributes"));this.id &&(t.id=i.result(this,"id")),this.className&&(t["class"]=i.result(this,"className")),this.setElement(this. _createElement(i.result(this,"tagName"))),this._se tAttributes(t)}},_setAttributes:function(t){this.$ el.attr(t)}}),e.sync=function(t,r,n){var s=H[t];i.defaults(n||(n={}),{emulateHTTP:e.emulateHTTP,e mulateJSON:e.emulateJSON});var a={type:s,dataType:"json"};if(n.url||(a.url=i.resu lt(r,"url")||F()),null!=n.data||!r||"create"!==t&& "update"!==t&&"patch"!==t||(a.contentType="applica tion/json",a.data=JSON.stringify(n.attrs||r.toJSON(n))) ,n.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),n.emu lateHTTP&&("PUT"===s||"DELETE"===s||"PATCH"===s)){ a.type="POST",n.emulateJSON&&(a.data._method=s);va r o=n.beforeSend;n.beforeSend=function(t){return t.setRequestHeader("X-HTTP-Method-Override",s),o?o.apply(this,arguments):void 0}}"GET"===a.type||n.emulateJSON||(a.processData=! 1);var h=n.error;n.error=function(t,e,i){n.textStatus=e,n .errorThrown=i,h&&h.call(n.context,t,e,i)};var u=n.xhr=e.ajax(i.extend(a,n));return r.trigger("request",r,u,n),u};var H={create:"POST",update:"PUT",patch:"PATCH","delet e":"DELETE",read:"GET"};e.ajax=function(){retur n e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={}),t.routes&&(this.r outes=t.routes),this._bindRoutes(),this.initialize .apply(this,arguments)},A=/\((.*?)\)/g,C=/(\(\?)?:\w+/g,R=/\*\w+/g,j=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,l,{initialize:function(){}, route:function(t,r,n){i.isRegExp(t)||(t=this._rout eToRegExp(t)),i.isFunction(r)&&(n=r,r=""),n||(n=th is[r]);var s=this;return e.history.route(t,function(i){var a=s._extractParameters(t,i);s.execute(n,a,r)!==!1& &(s.trigger.apply(s,["route:"+r].concat(a)),s.trigger("route",r,a),e.history.trigg er("route",s,r,a))}),this},execute:function(t,e,i) {t&&t.apply(this,e)},navigate:function(t,i){retur n e.history.navigate(t,i),this},_bindRoutes:function (){if(this.routes){this.routes=i.result(this,"rout es");for(var t,e=i.keys(this.routes);null!=(t=e.pop())











Any help?
Leave a comment: