Reading the answer you linked carefully you can see that you could copy the shapefile whose fields you are trying to change using the Feature Class to Feature Class tool.
This tool gives you a Field Map section with a list of all your original fields and the possibility to change the length property before actually copying the input sahpefile.
So basically, ...
I found out why some fields would not follow : their content was NULL. I put a 0 in all the fields of only one feature and all the checked fields successfully exported and now show up in the destination attribute table! So most of the data cells can be NULL, but if at least one feature contains a value in a specific field, this field will be exported.
If you right click your layer in the table of contents, you can choose to Join data by spatial location. Alternatively, you can use the Spatial Join tool.
I think I have found the solution to my qestion myself.In my example what I need to do is using Delete duplicates by attribute in my testA layer to generate a new layer with only two features(one is type_A,another is type_B).Next I set the coverage layer is the new layer with only two features and hidden it in the Atlas configuration .My qgis version is 3.6....
The question could be a tad clearer; however one answer would be to use iteration and fmeobjects within the pythoncaller. In this way all the attribute values are shifted 'leftwards' of the given order.
Enter the following python code in a pythoncaller transformer. The self.attributelist variable is to be configured with the desired ordered list of ...
If I understand correctly... if you mean the next feature that has a value, then you can do this with the AttributeManager.
I just tried it on some parks data, and this is my setup:
It means that when a park name is null, then it will be given the name of the nearest park (nearest in record order, not spatially).
There were three steps to set that up: