Skip to content

Instantly share code, notes, and snippets.

@muracms
Created November 7, 2013 05:10
Show Gist options
  • Select an option

  • Save muracms/7349293 to your computer and use it in GitHub Desktop.

Select an option

Save muracms/7349293 to your computer and use it in GitHub Desktop.
bean=$.getBean( {beantype} ).loadBy(
{property}={propertyValue} [ ,siteID={siteID} ]
);
content = $.getBean('content');
loadByRemoteID = content.loadBy( remoteID={remoteID} );
value = bean.getMenuTitle();
value = bean.getValue('MenuTitle');
value = bean.getValue( 'yourExtendedAttributeName' );
bean.setValue( 'menuTitle', 'value' );
bean.save();
bean.delete();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment