User Tools

Site Tools

:: Version 2.6.0 ::

2_6_0:feature:tag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
2_6_0:feature:tag [2019/07/26 10:16]
vdumas [Configure a TagSet Attribute]
2_6_0:feature:tag [2020/02/05 11:42] (current)
Line 83: Line 83:
  
 When you export objects with a TagSet attribute, the tags are exported with their **label**, separated by a pipe |. When you export objects with a TagSet attribute, the tags are exported with their **label**, separated by a pipe |.
-The same format is supported for importing data.+The same format is supported for importing data. There must be **a pipe at the beginning and at the end** 
 + 
 +  * You can export the labels, or the codes checking the flag ''​Export Code instead of Label''​ 
 +  * You can **only** import using labels of the Tags, the codes within the console are not yet supported
  
-  * You cannot export/​import the codes within the console, only the labels of the Tags  
-  * //It can be done by administrator using [[2_6_0:​advancedtopics:​exportdata|Export V2]] on the server, with option ''&​no_localize=1''//​ 
 ===== Manage allowed values for a Tag ===== ===== Manage allowed values for a Tag =====
  
Line 135: Line 136:
 <note warning>​Do not reduce <​nowiki><​max_items></​nowiki>​ or <​nowiki><​tag_code_max_len></​nowiki>​ on an existing TagSet with real data being above the new limits or you may lose data.</​note> ​ <note warning>​Do not reduce <​nowiki><​max_items></​nowiki>​ or <​nowiki><​tag_code_max_len></​nowiki>​ on an existing TagSet with real data being above the new limits or you may lose data.</​note> ​
  
-<​note>​Defining an AttributeTagSet with id ''​domains''​ on class ''​FAQ'',​ create automatically a class ''​TagSetFieldDataFor_FAQ__domains'' ​inherited from class ''​TagSetFieldData''​.</note>+<​note>​Defining an AttributeTagSet with id ''​domains''​ on class ''​FAQ'',​ create automatically a class ''​TagSetFieldDataFor_FAQ__domains''​ 
 +</​note>​ 
 + 
 + 
 +===== Q&A ===== 
 + 
 +**Query results are incoherent with the content, what can I do ?** 
 + 
 +Try to rebuild the corresponding MySQL table full text index by launching as a MySQL user the ''​optimize table'' ​statement (see [[https://​dev.mysql.com/doc/​refman/​8.0/​en/​optimize-table.html|corresponding documentation]]). 
  
-<note warning>​If you modify standard Profile denying read access to class ''​TagSetFieldData'',​ your users won't be able to set tags on your objects!</​note>​ 
 ===== Limitations ===== ===== Limitations =====
  
Line 144: Line 153:
   * Extension ''​Data Localizer''​ was not yet tested with TagSet FIXME   * Extension ''​Data Localizer''​ was not yet tested with TagSet FIXME
   * Reducing the size of <​nowiki><​max_items></​nowiki>​ or <​nowiki><​tag_code_max_len></​nowiki>​ on an existing TagSet with real data being above the new limits, will lead to unpredictable results depending on your database.   * Reducing the size of <​nowiki><​max_items></​nowiki>​ or <​nowiki><​tag_code_max_len></​nowiki>​ on an existing TagSet with real data being above the new limits, will lead to unpredictable results depending on your database.
 +
 +<note warning>​**No** Tag attribute should be added to Contact or Person class, as it breaks the login phase</​note>​
2_6_0/feature/tag.1564128980.txt.gz · Last modified: 2019/07/26 10:16 by vdumas

";