Skuid CLI - Cannot see pushed pages
I see the following output when pushing pages with Skuid CLI
Skuid CLI Output:
Pushing 44 pages.
Pages successfully pushed to org: .
Is anyone else having this issue? I am using a custom domain and am able to pull pages using Skuid CLI.
Skuid CLI Output:
Pushing 44 pages.
Pages successfully pushed to org: .
Is anyone else having this issue? I am using a custom domain and am able to pull pages using Skuid CLI.
Tagged:
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
https://github.com/skuid/skuid-cli/blob/master/cmd/push.go#L65
I'm not sure why your org name is not showing up there, but either way, it seems like it would be helpful if in verbose mode, that the "skuid push" command displayed the names of all pages being pushed, not just the number of pages.
But the command itself should be working --- are the updated pages not appearing in your org?
Have you had this working successfully in the past, but now the results are different? If so, has your Skuid version, CLI version, or Salesforce version changed recently?
Have you gotten this working in any of your other environments?
Are there any errors or warnings you're seeing when running the push?
I began using Skuid CLI after upgrading our QA and DEV environments to Skuid 12.2.8. I have been able to successfully pull pages from both environments, but never been able to push pages although the console says "Pages successfully pushed to org". Not sure if this helps, but I am using Ubuntu 18.04.2 LTS.
Can you please review this documentation on callback URLs and verify that your org's Connected App has the right URLs?
https://docs.skuid.com/latest/en/data/salesforce/#callback-urls
In my test org's connected app, I added both callback URLs for Visualforce:
https://markedge-dev-ed--skuid.visualforce.com/apex/skuid__oauthcallback
https://markedge-dev-ed--c.visualforce.com/apex/oauthcallback
and this one for Lightning: https://markedge-dev-ed.lightning.force.com/skuid/oauthcallback.app
Also, when I set up my own Connected App, I granted it access to all of the OAuth scopes.
Then, as a test, try pushing just one page, with a command like this: and let me know if that page gets updated in your target org:
Finally, if you wouldn't mind, please share the original push command you're trying to use that resulted in the issue you reported at the top of this thread.
I wonder if the --host and -u or --username flags are necessary, and that's why your domain is showing up blank. In my org's Company Information page, the organization name is "Skuid" and that's what the push command is supposed to add in the "Pages successfully pushed to org: ." line. It's strange that that's blank - the org name should be coming from the org's response, via "response.OrgName" so is it possible that your org name is blank in this target org?
I added the callback urls as you suggested with the permissions you suggested. I still wasn't able to push all pages with the following command:
skuid push --dir <directory to push> --host https://<custom domain>.my.salesforce.com --username <username> --password <password + token> --client-id <client id> --client-secret <client secret>
However, I was able to push a single page with the following command:
skuid push --host https://<custom domain>.my.salesforce.com --username <username> --password <password + token> --client-id <client id> --client-secret <client secret> --file Test.json
The directory push showed org: .
The single page push showed the proper org.
Are you able to push a smaller set of pages, perhaps by splitting them into a separate directory, to see if the problem persists?
By the way, if you want to see just how big your page XML is, for Skuid on Salesforce, you can follow the steps Zach just shared on this community post:
https://community.skuid.com/skuid/topics/xmlpages-to-big
That appears to be the issue. I was able to push a smaller page set (11 pages) successfully. Thanks for your help with this.