Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added prefab function for copying user

...

  1. Navigate to the Folio app in SkySpark for your project
  2. Locate the ids for the periscope users you are copying with: readAll(periscope and user)
  3. 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.

...