Flexspace CreateSpace web script?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2011 02:43 PM
Problem - I have a Space that is not being created automatically by my web script
Problem Description
I'm using a web script (from Flexspaces) to create a space automatically. The required parameter's are "parentpath" and "space name". I invoke the web script like this –>
C:\>curl -d –anyauth –user myusername:mypassword http://AlfrescoServer.domain.com:8080/alfresco/service/flexspaces/createSpace?parentpath=Company%20H...
CreateSpace URI
POST /alfresco/service/flexspaces/createSpace?parentpath={parentPath}&sn={spaceName}&st={spaceTitle?}&sd={spaceDesc?}&t={templateId?}&icon={iconName?}
Result that I am getting
Here's the response when I run the curl command above:
<?xml version="1.0" encoding="UTF-8"?>
<result>
<status>Space must have a Name</status>
</result>'sn' is not recognized as an internal or external command,
operable program or batch file.
Question
Why am I getting the response 'sn' "is not recognized as an internal or external command"? I think I'm doing something wrong.
Problem Description
I'm using a web script (from Flexspaces) to create a space automatically. The required parameter's are "parentpath" and "space name". I invoke the web script like this –>
C:\>curl -d –anyauth –user myusername:mypassword http://AlfrescoServer.domain.com:8080/alfresco/service/flexspaces/createSpace?parentpath=Company%20H...
CreateSpace URI
POST /alfresco/service/flexspaces/createSpace?parentpath={parentPath}&sn={spaceName}&st={spaceTitle?}&sd={spaceDesc?}&t={templateId?}&icon={iconName?}
Result that I am getting
Here's the response when I run the curl command above:
<?xml version="1.0" encoding="UTF-8"?>
<result>
<status>Space must have a Name</status>
false
</result>'sn' is not recognized as an internal or external command,
operable program or batch file.
Question
Why am I getting the response 'sn' "is not recognized as an internal or external command"? I think I'm doing something wrong.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2011 05:14 PM
I think I figured this out…stay turned
