Forum

How to mass update ...
 
Notifications
Retirer tout

How to mass update data?

10 Posts
4 Utilisateurs
0 Reactions
4,269 Vu
(@bgenolini)
Posts: 45
Active Member
Début du sujet
 
[#7868]

Hello,
I have tried to mass update user names (from " " to " "). I have prepared the xlsx file with ids and the new field names. I don't get any error at import, but the field are not changed. Is it related to the old version I am using? (v. 9.0.6).

Any solution? Thanks in advance,


Bernard

 
Posté : 3 Nov PM 22:1111
 M
(@mkavurcic)
Posts: 43
Active Member
 

use sql and update "resource" table column "name"

create script with set of update statements and execute:
UPDATE 'dbname'.`resource`
SET
`name` = " "
WHERE `name` = " " ;
---


 
Posté : 4 Nov PM 14:1111
(@bgenolini)
Posts: 45
Active Member
Début du sujet
 

Thanks. However, I need this kind of solution from the application. Is it possible?


Bernard

 
Posté : 5 Nov PM 12:1111
 M
(@mkavurcic)
Posts: 43
Active Member
 

Frankly, I've never tried


 
Posté : 5 Nov PM 13:1111
(@babynus)
Posts: 14952
Membre Admin
 

Really it should work.
You just need to export, change and re-import id and name for users.
On import result, check result for each line *, on rightmost column.
Also take care that you have 'name' which is the user name (account) and 'fullName' which is I think what you expect to change.


 
Posté : 8 Nov PM 16:1111
(@bgenolini)
Posts: 45
Active Member
Début du sujet
 

This is what I did. I have three columns: id, user name, real name, which is the element I want to change. The result column says that there is nothing to change, for each line. The result is the same, wheter in xlsx or csv format.
I did not see any information in the log file.
I've tried without the id column, and the error message is that the user name is mandatory. With the id but without the user name, I have the same behavior as with the user name.


Bernard

 
Posté : 8 Nov PM 17:1111
(@coasterman)
Posts: 127
Active Member
 

Hi,

I had similar problems before with the first column of import files (other topic in this forum)
Remove BOM in csv or update ProjeQtOr solved it.


 
Posté : 9 Nov PM 16:1111
(@babynus)
Posts: 14952
Membre Admin
 

Hi,I could not reproduce you issueI used and screenshot of result : names are correctly updated
 


 
Posté : 9 Nov PM 16:1111
(@coasterman)
Posts: 127
Active Member
 

He used V9.0.6

The problem with bom was solved by you after V9.2.2 (thank you 🙂 )
https://www.projeqtor.org/en/forum/5-ask-questions/11734-import-csv-with-activity-name-change#30925


 
Posté : 9 Nov PM 16:1111
(@bgenolini)
Posts: 45
Active Member
Début du sujet
 

Thanks. It worked.
I did both the suppression of the BOM and update the column name. When I exported the data, the column name was in English (real name). However, I use the French interface. And it worked with the French column name (nom usuel).


Bernard

 
Posté : 9 Nov PM 17:1111
Share:
Retour en haut