on 2023 Mar 17 7:28 AM
Hi,
I need to extract all the users from sap cdc however we can only extract 10000 users only. In data flow how can I export all users also please let me know if there are any other possible ways
Request clarification before answering.
Hi Maheswari,
You can export the site data with 2 methods,
A: You can build a simple dataflow by using the steps,
This dataflow can be scheduled, and the process dumps the formatted file in one of the storage options provided. If you have a requirement to export the data from another site (apiKey), you can copy the same source code and do the same action. The effort of building a dataflow is one time.
A: You can also export the data using accounts.search API. By default the max data which can be exported is 10,000. But if your data is more than that, please follow the below steps,
[make sure to add other basic required parameters including query]
For more details on the above method please click here.
The above method is best when the data is more than 10,000 and this method makes sure you don't get repeated data. The results of 1st batch would not be present in any other batch. You will always get unique data every single time. At the end of the data, your nextCursorId will be expired.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very detailed answer, Vrishabh.
Hey,
You have to build a data flow that aggregates the account.search page results into a data storage (like azure blob storage). Check out the available "datasource.write" in combination with the "file.format" components
at https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD/8b8d6fffe113457094a17701f63e3d6a/414ce1d070b21014b... . This way you can export all user records using a single data flow.
Or create a script utilizing the given REST APIs to aggregate the data in memory and write all records into an output file.
Best,
Sebastian Schuck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.