hello
i have a csv management agent, i want to manage this case
when an identity is removed from the file , i want to disconnect from the CSV MA and update an attribute on the metaverse ?
is it possible ?
Thanks
Technology Tips and News
hello
i have a csv management agent, i want to manage this case
when an identity is removed from the file , i want to disconnect from the CSV MA and update an attribute on the metaverse ?
is it possible ?
Thanks
Hello,
no i think that is not possible, when a object is deleted in the csv file disconnect automaticly happens, and after that you can not have Attribute flows to mv. Also Setting mv values directly is not possible.
You find a solution where the object did not remove from the file, instead is should have a "disabled" state first.
So maybe some preprocessing in the data source side could be nessecary.
Regards
Peter
The way I see this there are a couple of options.
1. Set the CSV MA to "Do not recall attributes after disconnect". This allows you to retain in MV all the attributes contributed by this MA. Then you need some trigger to let you know user is no longer in the CS and do the rest.
2. When user is no longer in CSV, there are attributes that would have come from this MA, so you can simply say if (mventry["att_name"].isNotPresent), where att_name is the attribute you mapped from CSV and now is null. Of course this has to be the anchor attribute or something that it is not null ever, so you can be sure it works.
Hope this helps,
Nosh
Hello,
"do not recall attributes" will work but I find it a "dirty" solution as it works on all attributes from this MA, this function should be avioded in a "neat" solution.
Also make actions or decisions on "absense" of data is not a good practice but if well designed it should work also.
It depends on you which way to go, I would preferr to modify datasource so that objects dont get removed.
-Peter