Skip to main content
Hello!

 

 

After reading several related Answers I believe that the following problem has still not been addressed. Here it is:

 

 

I would like to generate attributes according to existing and a-priori unknown attribute values. 

 

 

For example: Let's say that an Attribute A exist with attribue values X1, X2 and X4. And let's say an unknown unique attribute value, attribute value X5, is added to Attribute A. The requested method should then generate the attributes X1, X2, X4 and X5. They will exist next to the already existing attribute A.  

 

 

Does anyone know the Answer?

 

 

?Kind regards, Jochgem
Dynamic attribute creation.

 

Attributes are hidden and need to be exposed, but how if they are unknown.

 

 

Similar to Prataps question dd 28/1 couple of posts below. Only in his attributenames are known.

 

 

For unknown.

 

Using a filewriter, you must built up the data. (append to file mode)

 

First row wil be the attributes (including the unknowns) , subsequent rows the data. U therefore must control the order lines.

 

I contain the attributes in "_att_name" and values in "_att_value". Alos i use of course, "_txt_line_number" or some counter, and "total_lines".

 

 

After filewriter you can use a workspacerunner to call a workspace wich has to parametrised, to read the csv and do some proces at will.

 

When csv is read the first line wich holds attributesnames, will automaticaly become actual attributes.

 

 

THis post may be helpfull , as it uses above described method,

 

 

https://safecommunity.force.com/CommunityAnswers#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906a0000000d1yIAAQ

 

 

Reply