AnsweredAssumed Answered

Only Label name is displayed

Question asked by Anurag Tiwari on Dec 16, 2015
Latest reply on Dec 17, 2015 by Anurag Tiwari

After adding fields from studio and adding those field into editview layout via code it is showing only label name only not its text input box in front of label.why it is happening?

manually added code in editviewdef.php like

10 =>

        array (

          0 => '',

          1 => '',

          2 =>  array (

            'name' => 'prod_total_cost_c ',

            'label' => 'LBL_PROD_TOTAL_COST',

            'displayParams' =>

            array (

              'size' => '7',

            ),

          ),

          3 =>

          array (

            'name' => 'prod_total_excise_duty_c ',

            'label' => 'LBL_PROD_TOTAL_EXCISE_DUTY',

            'displayParams' =>

            array (

              'size' => '5',

            ),

          ),

          4 =>  array (

            'name' => 'prod_total_amount_c ',

            'label' => 'LBL_PROD_TOTAL_AMOUNT',

            'displayParams' =>

            array (

              'size' => '7',

            ),

          ),

          5 => '',

          6 => '',

        ),

      ),

Outcomes