Providing 'clientKey' in useProductContext?

Connect apps do not usually use the Cloud ID provided in the Forge product Context but rather use the clientKey as their primary identifier.

So for the usecase of migrating a Connect App to Forge, is there a plan to provide ‘clientKey’ in useProductContext ?

Cheers
Ajay

Hi @ajay,

We’re not planning to add clientKey to useProductContext.

One alternative we’re thinking about is adding cloudId to the installation lifecycle hook - would that help in your case?

Are you able to explain your current migration plan in more detail? For example, do you plan to kick off some sort of migration from your remote data store onto hosted storage after a Forge installation happens, or will your Forge app continue talking to your app server to store and retrieve data?

Cheers,
James

1 Like

@jhazelwood ,

It should work for us if you can provide the cloudId. We would need to continue to talk to the App server for this particular App case as it’s a data-intensive connect application.

1 Like

Just commented on Relationship between cloud id and client key - #7 by hitsthings - I think getting the cloudID in a connect app would be extremely useful! It would help our Connect and Forge apps to communicate about a shared customer better.