cancel
Showing results for 
Search instead for 
Did you mean: 

Flexspace CreateSpace web script?

alfrescolove
Champ in-the-making
Champ in-the-making
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>
   
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.
1 REPLY 1

alfrescolove
Champ in-the-making
Champ in-the-making
I think I figured this out…stay turned
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.