Skip to main content
Bumped by Community user
edited body
Source Link
Sudhakar Rao
  • 1.8k
  • 9
  • 16

I am upgrading Trdion 2013sp1 to SDLWEB8.5 version. Try to create new bundle in sdlweb8.5. I got None value for Bundle Type. it`s same working fine in sdl tridion2013 sp1. any suggestion to fix this issue in sdlweb8.5.

SDL Tridion 2013sp1 Code:

c.MetaSchemaDropdown.setDisabled(false);
c.MetaSchemaDropdown.setValue(tcmIDmSchema); // the corresponding Metadata Schema
var value = c.MetaSchemaDropdown.getValue();
var metadataSchema = value ? $models.getItem(value) : null; // Does it has a value.. and we will !
var item = $display.getView().getItem();    
itemthis.setMetadataSchema(value, this); // Setting Schema

$display.getView().applyFieldsSchema(metadataSchema, true); /

enter image description here

I am upgrading Trdion 2013sp1 to SDLWEB8.5 version. Try to create new bundle in sdlweb8.5. I got None value for Bundle Type. it`s same working fine in sdl tridion2013 sp1. any suggestion to fix this issue in sdlweb8.5.

SDL Tridion 2013sp1 Code:

c.MetaSchemaDropdown.setDisabled(false);
c.MetaSchemaDropdown.setValue(tcmIDmSchema); // the corresponding Metadata Schema
var value = c.MetaSchemaDropdown.getValue();
var metadataSchema = value ? $models.getItem(value) : null; // Does it has a value.. and we will !
var item = $display.getView().getItem();    
item.setMetadataSchema(value, this); // Setting Schema

$display.getView().applyFieldsSchema(metadataSchema, true); /

enter image description here

I am upgrading Trdion 2013sp1 to SDLWEB8.5 version. Try to create new bundle in sdlweb8.5. I got None value for Bundle Type. it`s same working fine in sdl tridion2013 sp1. any suggestion to fix this issue in sdlweb8.5.

SDL Tridion 2013sp1 Code:

c.MetaSchemaDropdown.setDisabled(false);
c.MetaSchemaDropdown.setValue(tcmIDmSchema); // the corresponding Metadata Schema
var value = c.MetaSchemaDropdown.getValue();
var metadataSchema = value ? $models.getItem(value) : null; // Does it has a value.. and we will !
var item = $display.getView().getItem();    
this.setMetadataSchema(value, this); // Setting Schema

$display.getView().applyFieldsSchema(metadataSchema, true); /

enter image description here

Source Link
Sudhakar Rao
  • 1.8k
  • 9
  • 16

Web8 : BundleType none, when creating new bundle

I am upgrading Trdion 2013sp1 to SDLWEB8.5 version. Try to create new bundle in sdlweb8.5. I got None value for Bundle Type. it`s same working fine in sdl tridion2013 sp1. any suggestion to fix this issue in sdlweb8.5.

SDL Tridion 2013sp1 Code:

c.MetaSchemaDropdown.setDisabled(false);
c.MetaSchemaDropdown.setValue(tcmIDmSchema); // the corresponding Metadata Schema
var value = c.MetaSchemaDropdown.getValue();
var metadataSchema = value ? $models.getItem(value) : null; // Does it has a value.. and we will !
var item = $display.getView().getItem();    
item.setMetadataSchema(value, this); // Setting Schema

$display.getView().applyFieldsSchema(metadataSchema, true); /

enter image description here