Hello,
I am looking for some basic documentation that will help me to achieve the following tasks:
-Add fields to an existing entity
-Add new related entities
-Modify existing UI to show new entity field
-Modify existing UI with new form/page to edit a new added entity
My ultimate goal is to add a related bill of materials to a product and properly manage the purchasing process.
1 reply to this topic
#1
Posted 24 December 2015 - 08:48
#2
Posted 24 December 2015 - 13:27
I cannot provide documentation but some linked code examples.
The easiest way to store third party data in the database is to use the SyncMappingService and its SyncMapping Entity.
It's less work than creating own entities because you do not have to care about database related things like migration.
Example for UI integration is the Google Merchant Center plugin. It adds a GMC tab through a TabStripCreated event
to the product edit page and stores the data through a ModelBoundEvent into the database. By the way, the plugin uses
the old way of data storing by setting up an own GoogleProductRecord entity and data migration.
Another example is the DevTools plugin. It provides a new stand-alone backend page named BackendExtension
through the DevToolsController and add a link to the admin menu (commented out code).
- bvillersjr likes this
Marcus Gesing
Smartstore AG
Also tagged with one or more of these keywords: Extending, Entity, field
Smartstore (Deutsch) →
Anpassen & Erweitern Smartstore →
Migration einer neuen EntityStarted by thorb , 29 Jan 2020 Plugin, Datenbank, Entity |
|
|
||
Smartstore (English) →
Customize & Extend Smartstore →
Extending ProjectStarted by Aaron Jones , 12 Feb 2016 Model, Extending, Controller and 1 more... |
|
|
||
Smartstore (Deutsch) →
Anpassen & Erweitern Smartstore →
ChangeTracking auf neue Tabelle (Update Entity)Started by StalcaiRe , 25 Jun 2015 MSSQL, Table, Update, Entity |
|
|