The synchronizeUserInformation Script Only Takes component='ALL' (Doc ID 2046657.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

 

When attempting to run the synchronizeUserInformation script with component set to PolicyStore, Spaces, UCM or DISCUSSION,
the following error occurs.


ERROR

 

Component [PolicyStore] is not supported. Specify a valid component.
Refer to the help for more details.

 
or

Component [Spaces] is not supported. Specify a valid component.
Refer to the help for more details.

 

or

Component [UCM] is not supported. Specify a valid component.
Refer to the help for more details.

 

or

Component [DISCUSSIO] is not supported. Specify a valid component.
Refer to the help for more details

 

 

The following documentation indicates you can provide the following components:
 

PolicyStore, Spaces, UCM, DISCUSSION, ALL

  

See:
 

Oracle Fusion Middleware WebLogic Scripting Tool Command Reference
10 WebCenter Portal Custom WLST Commands
synchronizeUserInformation
 

From the above documentation:

Argument: component
 
Definition: WebCenter Portal component in which to rename or delete users.
                 Valid values are: PolicyStore, Spaces, UCM, DISCUSSION, ALL.

  



STEPS

The issue can be reproduced at will with the following steps:

 

  1. Run the synchronizeUserInformation script with operationType='RENAME_USERNAME' and component set to PolicyStore, Spaces, UCM or DISCUSSION as follows:

    synchronizeUserInformation(appName='webcenter',
         operationType='RENAME_USERNAME',
         fileName='/refresh/oracle/testcases/synch/renameusers.properties',
         component='Spaces',
         dbVendor='Oracle',
         dbHostNPort='fmw11g.vm.oracle.com:1521',
         dbName='orcl01.vm.oracle.com',
         dbSchemaName='dev_webcenter',
         verbose='true')
     


  2. This should return the above errors depending on the type of component provided.

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms