Metabox scenario configuration won't save

Making & changing box plugins and external apps
Post Reply
ana.ldpcosta
Posts: 2
Joined: Mon Feb 18, 2019 4:26 pm

Metabox scenario configuration won't save

Post by ana.ldpcosta »

Hi! I'm trying to develop some metaboxes to clean up my main scenario, but keep running into a problem.
When I try to to configure the metabox scenario settings, it won't save the configuration type. For example, I want the user to be able to select a stimulation to epoch from when configuring the box, but when designing the metabox every time I close the Configure Settings screen the setting type reverts back to an integer.

Was wondering if this is a bug or if I'm doing something wrong. Thanks in advance!

Thibaut
Posts: 144
Joined: Wed Oct 31, 2018 9:14 am

Re: Metabox scenario configuration won't save

Post by Thibaut »

Hello,
This is a bug that will be fixed in the next version normally.
In the meantime, it's ugly but, you can replace by hand the type in the xml file of your metabox.
in your xml you have for example :

Code: Select all

<Settings>
	<Setting>
		<Identifier>(0x00425137, 0xf2a30c29)</Identifier>
		<TypeIdentifier>(0x79a9edeb, 0x245d83fc)</TypeIdentifier>
		<Name>STRING SETTING</Name>
		<DefaultValue>MY DEFAULT VALUE</DefaultValue>
		<Value>MY VALUE</Value>
	</Setting>
</Settings>
For TypeIdentifier you have :

Code: Select all

Boolean     (0x2CDB2F0B, 0x12F231EA)
Integer     (0x007DEEF9, 0x2F3E95C6)
Float       (0x512A166F, 0x5C3EF83F)
String      (0x79A9EDEB, 0x245D83FC)
Filename    (0x330306DD, 0x74A95F98)
Foldername  (0x43A26C8E, 0x0A8172B6)
Script      (0xB0D0DB45, 0x49CBC34A)
Stimulation (0x2C132D6E, 0x44AB0D97)
LogLevel    (0xA88B3667, 0x0871638C)
Thibaut

Post Reply