...
- Navigate to the Folio app in SkySpark for your project
- Locate the ids for the periscope users you are copying with: readAll(periscope and user)
Execute the following, replacing the user_to_copy and the _ new_periscope_user with the respective periscopeUser ids:
Code Block readAll(userRef == copyPeriscopeUser(readById(@user_to_copy).swizzleRefs.removeCol("mod").each(r => diff(null, r.merge({userRef:@the_new, readById(@new_periscope_user}), {add}).commit)
Note |
---|
Periscope users and SkySpark user records are not the same. SkySpark manages users at the host level where-as periscope users are managed at the project level. They may looks similar but don't let that fool you. When duplicating users make sure you're using the IDs for the Periscope user. You can verify that the record is the periscope user because it will have both periscope and user marker tags. |
...