Export von Feldkonfigurationen/Attribute/Wertelisten
The following array shows a typical synchronisation using the JSON connector. Please note that data will be sent using a JSON string, the following only shows an exemplary array.
When synchronizing attributes to the target system, all important information are included. Part of the sycnrhonization are label, type and value lists for select boxes.
Internal Variables:
1 2 3 4 5 6 7 8 9 10 11 12 | csid = interne CS ID csclass = interne CS Klasse (Pdmarticle, Pdmarticlestructuren, Mamfile, etc) code = interner Name (technisch) Label = Interner Name (nicht technisch) Name = Anzeige Name prefix = Gruppenmerkmal (z.B. für automatisierte Verteilung in Zieltabellen tbl_article|name == tbl_article) type = Typ des Feldes (abhängig vom Zielsystem) default_value = Standardwert des Feldes attribute_group_name = Reitername options = Array von mehrsprachigen Optionswerten language_dependent = sprachabhängiges Feld (ja/nein) |
Das Array Languages wird immer mitgeschickt, damit die möglichen Sprachwerte ersichtlich sind.
1 2 3 4 5 6 7 | [languages] => Array ( [0] => default [1] => German [2] => Englisch [3] => Japanisch ) |
Fill example data sets:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | Array ( [method] => data [data] => Array ( [attributes] => Array ( [price] => Array ( [code] => price [prefix] => [type] => text [default_value] => [attribute_group_name] => Array ( [0] => Preise/Lager ) [options] => Array ( ) [language_dependent] => 0 [csid] => -32890 [csclass] => Itemconfiguration [Label] => Array ( [default] => Preise [German] =>; Preise [Englisch] => Preise [Japanisch] => Preise ) [Name] => Array ( [default] => [German] => [Englisch] => [Japanisch] => ) ) [video_format] => Array ( [code] => video_format [prefix] => [type] => multiselect [default_value] => [attribute_group_name] => Array ( [0] => Spezifikationen ) [options] => Array ( [H.264] => Array ( [default] => H.264 [German] => H.264 [Englisch] => H.264 [Japanisch] => H.264 ) [MPEG-4] => Array ( [default] => MPEG-4 [German] => MPEG-4 [Englisch] => MPEG-4 [Japanisch] => MPEG-4 ) [DVD] => Array ( [default] => DVD [German] => DVD [Englisch] => DVD [Japanisch] => DVD ) ) [language_dependent] => 0 [csid] => 50 [csclass] => Itemconfiguration [Label] => Array ( [default] => Unterstützte Videoformate [German] => Unterstützte Videoformate [Englisch] => Supported Video Formats [Japanisch] => Supported Video Formats ) [Name] => Array ( [default] => Unterstützte Videoformate [German] => Unterstützte Videoformate [Englisch] => Unterstützte Videoformate [Japanisch] => Unterstützte Videoformate ) ) [products_images] => Array ( [code] => products_images [prefix] => [type] => file [default_value] => [attribute_group_name] => Array ( [0] => Beschreibung ) [options] => Array ( ) [language_dependent] => 0 [csid] => 28 [csclass] => Itemconfiguration [Label] => Array ( [default] => Abbildung [German] => Abbildung [Englisch] => Image [Japanisch] => Image ) [Name] => Array ( [default] => Abbildung [German] => Abbildung [Englisch] => Abbildung [Japanisch] => Abbildung ) ) [description] => Array ( [code] => description [prefix] => [type] => textarea [default_value] => [attribute_group_name] => Array ( [0] => Texte ) [options] => Array ( ) [language_dependent] => 1 [csid] => 26 [csclass] => Itemconfiguration [Label] => Array ( [default] => Beschreibung [German] => Beschreibung [Englisch] => Description [Japanisch] => Description ) [Name] => Array ( [default] => Beschreibung [German] => Beschreibung [Englisch] => Beschreibung [Japanisch] => Beschreibung ) ) [webtext] => Array ( [code] => webtext [prefix] => [type] => textarea [default_value] =>; [attribute_group_name] => Array ( [0] => Texte ) [options] => Array ( ) [language_dependent] => 1 [csid] => 125 [csclass] => Itemconfiguration [Label] => Array ( [default] => Webtext [German] => Webtext [Englisch] => Webtext [Japanisch] => Webtext ) [Name] => Array ( [default] => Webtext [German] => Webtext [Englisch] => Webtext [Japanisch] => Webtext ) ) [products_name] => Array ( [code] => products_name [prefix] => [type] => text [default_value] => [attribute_group_name] => Array ( [0] => Data ) [options] => Array ( ) [language_dependent] =>; 0 [csid] => 0 [csclass] > Itemconfiguration [Label] => Array ( [default] => Bezeichnung [German] => Bezeichnung [Englisch] => Bezeichnung [Japanisch] => Bezeichnung ) [Name] => Array ( [default] =>; [German] => [Englisch] => [Japanisch] => ) ) ) ) [token] => f50a35c557d9e0eb64b746b7de1ab893 ) |