pinnedView(applet, forParent) {
          let recycledPropKey = ctx.app.$model.recycledFlagPropertyKey;
          if (!applet || !recycledPropKey) return {};

          const primaryOrFkPropKey = forParent ? ctx.app.$model.primaryKeyPropertyKey : ctx.app.$model.firstRelationFK(this.model(applet));
          let rawPinnedViewDefinition = {
            name: 'Pinned',
            key: 'PINNED',
            ord: 1,
            inheritsFrom: 'ALL',
            filter: [
              { propertyKey: recycledPropKey, operator: 'eq', value: 0 },
              { propertyKey: primaryOrFkPropKey, operator: 'eq', value: ctx.store.state.ui.pinnedItem.keyValue }
            ]
          };

          return _.merge({}, this.rawViewFromKey(applet, 'ALL'), rawPinnedViewDefinition);
        }
/**
         * Given an applet object and parent/child flag, compose and return a pinned applet view (for the parent or the child) based on the All Items ('ALL') view
         * @param {object} applet Applet object
         * @param {boolean} forParent True if the pinned view is for a parent (primary model), false for a child that is dependent on (has FK ref to) a parent
         */
Given an applet object and parent/child flag, compose and return a pinned applet view (for the parent or the child) based on the All Items ('ALL') view
@param {object} applet Applet object
@param {boolean} forParent True if the pinned view is for a parent (primary model), false for a child that is dependent on (has FK ref to) a parent
Given an applet object and parent / child flag compose and return a pinned applet view ( for the parent or the child ) based on the All Items ( ' ALL ' ) view @param { object } applet Applet object @param { boolean } forParent True if the pinned view is for a parent ( primary model ) false for a child that is dependent on ( has FK ref to ) a parent
pinnedView(applet, forParent) {
          let recycledPropKey = ctx.app.$model.recycledFlagPropertyKey;
          if (!applet || !recycledPropKey) return {};
          const primaryOrFkPropKey = forParent ? ctx.app.$model.primaryKeyPropertyKey : ctx.app.$model.firstRelationFK(this.model(applet));
          let rawPinnedViewDefinition = {
            name: 'Pinned',
            key: 'PINNED',
            ord: 1,
            inheritsFrom: 'ALL',
            filter: [
              { propertyKey: recycledPropKey, operator: 'eq', value: 0 },
              { propertyKey: primaryOrFkPropKey, operator: 'eq', value: ctx.store.state.ui.pinnedItem.keyValue }
            ]
          };
          return _.merge({}, this.rawViewFromKey(applet, 'ALL'), rawPinnedViewDefinition);
        }
pinnedView ( applet , forParent ) { let recycledPropKey = ctx . app . $model . recycledFlagPropertyKey ; if ( ! applet || ! recycledPropKey ) return { } ; const primaryOrFkPropKey = forParent ? ctx . app . $model . primaryKeyPropertyKey : ctx . app . $model . firstRelationFK ( this . model ( applet ) ) ; let rawPinnedViewDefinition = { name : 'Pinned' , key : 'PINNED' , ord : 1 , inheritsFrom : 'ALL' , filter : [ { propertyKey : recycledPropKey , operator : 'eq' , value : 0 } , { propertyKey : primaryOrFkPropKey , operator : 'eq' , value : ctx . store . state . ui . pinnedItem . keyValue } ] } ; return _ . merge ( { } , this . rawViewFromKey ( applet , 'ALL' ) , rawPinnedViewDefinition ) ; }
Given an applet object and parent/child flag, compose and return a pinned applet view (for the parent or the child) based on the All Items ('ALL') view
 @param {object} applet Applet object
 @param {boolean} forParent True if the pinned view is for a parent (primary model), false for a child that is dependent on (has FK ref to) a parent
Given an applet object and parent / child flag compose and return a pinned applet view ( for the parent or the child ) based on the All Items ( ' ALL ' ) view @param { object } applet Applet object @param { boolean } forParent True if the pinned view is for a parent ( primary model ) false for a child that is dependent on ( has FK ref to ) a parent