AnsweredAssumed Answered

custom create view 7.x

Question asked by on Jun 10, 2015
Latest reply on Jun 12, 2015 by Emil Maran
I've had some success in extending a record view, but I'm still new to Sugar and struggling.

I'm trying to change the create view in a custom module created through studio.

I have these two files:

I'm trying to append multipleprod.hbs to the existing view, but nothing seems to be changing after a R&R.
I still can't append a custom HBS on record view either, multipleprod.hbs doesn't seem to show up in Handlebars.templates in the console.

Here's my create.js

    extendsFrom: 'ORDER_orderentryCreateView',
     * Some extra functionality
    doSomethingCool: function() {
        console.log('hi jonoo');
    initialize: function(options) {
        console.log('hi jonoo');
    _renderHtml: function(ctx, options){
        this._super('_renderHtml', [ctx, options]);
        this.$el.find('.record .record-cell').css('border','1px solid red');
        var myAddition = app.template.get("my-record.mine");
    _dispose: function() {
        //additional stuff before calling the core create _dispose goes here