Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creating  or removing Interactions can now be done outside the CMS via the BMP CLI.

...

Here is an example of the BMP CLI workflow on a sample answerSpace called "myanswerSpace"

The local file

First we will

...

pull the empty answerSpace down from the BMP.

Code Block
languagebash
blinkm bmp pull

Here is the view from the BMP CMS,

...

no interactions are yet created.

Now we are ready to start creating interactions.

Code Block
languagebash
themeRDark
blinkm bmp create interaction default

Once the interaction has been created you will notice the newly created files in your local project.

Info

As the interaction type was left blank, The the interaction "default" was create as a madl type

...

Code Block
languagebash
themeRDark
blinkm bmp create interaction myinteraction --remote

Once the interaction has been created you will notice the newly created files in your local project.

Info
title--remote

Note because we used --remote an empty interaction place holder now shows in the BMP CMS.

This method is ideal when wanting to reserve a unique name when developers are using both CMS and CLI at the same time.

...

In every interaction directory is a file called <interaction name>.json 

This file containing most contains most of your interactions settings.

Code Block
languagejs
themeRDark
titleThe example "default.json" code
collapsetrue
{
  "allow_mobi": "yes",
  "config": {
    "all": {
      "type": "madl code"
    },
    "default": {
      "display": "hide",
      "displayName": "default",
      "madl": {
        "$file": "default.madl.php"
      }
    }
  },
  "id": "100654",
  "name": "default",
  "registered_only": "allow all",
  "restricted": "no",
  "status": "active",
  "tags": null
}

...

Below is a list of items you can modify safely.

ItemDescriptionCMS MenuLabelOptions
displayHidden Items Are Not Displayed In Lists But Are Otherwise Still Accessibleitems are not displayed in lists but are otherwise still accessibleDisplayhide / show
displayNameCaption or title to display to usersDisplay Name 
statusInactive Items Are Hidden And Treated As Though They Do Not Existitems are hidden and treated as though they do not existStatusactive / inactive

 

 

...