Skip to main content
Nintex Community Menu Bar

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.

Hi Rick, I don’t think that command is supposed to display the names of the pages, although it does seem like that would be helpful if it did! From the source code (skuid CLI is open source) looks like the “push” command is actually intended to display the org name between the “:” and the “.”, but that seems to not be working:

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?


Hey Zach, thanks for the reply. Actually, I am not able to see any pushed pages in my org when navigating to https://–skuid.cs.visual.force.com/apex/skuid__PageList


Hi Rick a few sanity checks:


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?


Mark,


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.


Hi Rick, I’m going through this setup for the first time today to see if we can uncover what might be missing from your setup and approach.

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:

$ skuid push -v --host https://markedge-dev-ed.my.salesforce.com/ -u markEdge@skuiddev.com --file TEST.json
Pushing 1 pages.
Pages successfully pushed to org: Skuid. ```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?


Mark,

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 --host https://<custom domain>.my.salesforce.com --username --password <password + token> --client-id --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 --password <password + token> --client-id --client-secret --file Test.json


The directory push showed org: .

The single page push showed the proper org.


Hi Rick. We believe you may be encountering a heap size issue when trying to push all pages. See here for issue explanation: https://github.com/skuid/skuid-cli/issues/11.


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/t/xmlpages-to-big


Mark,


That appears to be the issue.  I was able to push a smaller page set (11 pages) successfully.  Thanks for your help with this.