Question

How to add a mini page to newly created section

Hello All,

I am trying to create a mini page to the newly added section. I have followed the steps given in the below academy link.

https://academy.bpmonline.com/documents/technic-sdk/7-10/how-create-mini-page

I have  created a MiniPageV2  for the page and added the necessary fields in the configuration but I can't open the mini page in the user interface.

 

Is there any other settings needs to done in order to view the created mini page in the user interface?

 

For creating a mini page on new section, I believe I can follow the same steps given in the above academy link.

 

Please let me know if I need to add anything else in the mini page to make it enable on the new section.

 

 

File attachments

Like

2 comments

Dear Ayswariya,

In order for the mini page to be enabled, please add a system setting for your section. We apologize this information is not in the article.

Please go to System Designer --> System Settigs --> Add Setting.

Use system setting "Enable account mini page add mode" as an example. 

Afterwards, please re-login into the application and check your section mini page.

Regards,

Anastasia

Dear Ayswariya,

Following up my previous answer, you also need to add an attribute to the mini page schema, so the mini page could add new records. Please see the example below: 

define("UsrTestMiniPage", ["ConfigurationConstants"], function(ConfigurationConstants) {
 return {
  entitySchemaName: "UsrTest",
  details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
  messages: {},
  mixins: {},
  attributes: {
   "MiniPageModes": {
    "value": [this.Terrasoft.ConfigurationEnums.CardOperation.ADD]
   }
  },
  methods: {},
  diff: /**SCHEMA_DIFF*/[
   {
    "operation": "insert",
    "name": "UsrName",
    "parentName": "HeaderContainer",
    "propertyName": "items",
    "index": 0,
    "values": {
     "labelConfig": {
      "visible": false
     },
     "isMiniPageModelItem": true
    }
   }
  ]/**SCHEMA_DIFF*/
 };
});

 Regards, 

Anastasia

Show all comments