Copying an sType?

3 posts / 0 new
Last post
gin
Copying an sType?

I created an sType for Project A. I then created Project B, and want to import or copy in that same sType.

In the Project Schema view, the sType list at the bottom shows the sType I created, but with a red dot under the Has Table column. Is there a way to create the table for Project B, and incidentally also a node in the schema diagram above?

remko

The best way to export / import is to create a TACTIC Plugin.

The manifest would look something like this:

<manifest>
  <data>
    <code>my_plugin</code>
    <title>My Plugin</title>
  </data>
  <search_type code="project/table" path="config/search_type.spt"/>
</manifest>

where you would need to change the code and path for your table.

Plugins are can export / import almost anything so they are well worth learning.

More info: http://techblog.southpawtech.com/2016/10/tactic-plugins-are-way-of-packa...

and http://community.southpawtech.com/tactic-developer_developer_packaging-a...

 

gin

Thank you, remko.

For the lazy, the workaround involves creating a node with the exact same search type.