Message Boards Message Boards

0
|
6338 Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Cloud object on Programming cloud

Posted 9 years ago

Dear All,

Greeting from Singapore. First time, trying the cloud deploy and cloud object on Windows PC. The cloud deploy works well on single object. I would like to use 2 cloud deploy as input but to a single cloud object.

CloudDeploy[Delayed[DateString["DateTime"],UpdateInterval->5]]
CloudDeploy[ExportForm[Style[ Framed["Hello,  Singapore ", ImageMargins->50],70,Orange,FontFamily->"Verda na"],"GIF"]]

output is 2 ulr's. Working well. But wish to create a single URL..( from CloudDeploy) from above Cloud Deploy. I tried with comma (,) in between CloudDeploy with additional [] but it not working. Wonder how to implement the following...

CloudObject["http://…"], CloudObject["https://…"]

enter image description here

Please advise, Am i missing something ? Thanks a lot.

3 Replies

I apologize. I don't understand what you're trying to do, so it's hard to know if it's right.

The code you have posted has mismatched brackets.

POSTED BY: Sean Clarke

Dear Sean,

Thanks for suggestion. I tried. but still error though CloudDeploy[{a,b}] looks simple with many { ,[ it is confusing. here is my code

CloudDeploy[{Delayed[DateString["DateTime"],UpdateInterval->5],
[ExportForm[Style[ Framed["Hello,  Singapore ", ImageMargins->50],70,Orange,FontFamily->"Verdana"],"GIF"]}]

Is it right? , i have added a , { and } . Any thoughts?

Thanks a lot.

Cheers! chandra

They have separate URLs because they are separate CloudObjects. You could put the two items together in a list. Then they'd be a single CloudObject.

Instead of:

 CloudDeploy[a]
   CloudDeploy[b]

Try:

CloudDeploy[{a,b}]
POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract