Is there an RPC to create/store Scaffold pages?
I want to do a bulk load of data from a .csv file into Confluence/Scaffold - each line of the file is a seperate Confluence page, each value on a line is a Scaffold field. Is there a URL or RPC I can use for Scaffold pages, similar to the regular storePage?
3
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Not exactly. I have a separate plugin that was built some time ago to allow that, but it would need some TLC before being releasable - it's a fair way out of date now.
-
Inappropriate?I would certainly put in a vote for that. Meantime I have a work-around:
1) getPage
2) set content to "{set-data:$fieldNames[$i]|hidden=true}" . $fieldValues[$i] . "{set-data} \n"
3) update Page
4) set content to "{live-template:" . $fieldNames[0] . "}";
5) updatePage
It is messy but it seems to do the job.
-
Inappropriate?I've created a web service that allows you to get and set values, but my code is built into a custom version of the scaffolding plugin right now because it doesn't use plugin 2.0 ... I have so many changes and "extensions" in there right now it might be hard to pull out a patch ...
I’m useless
-
Inappropriate?Plugins 2 support for Scaffolding/Reporting would be good, but it would be a very significant update, and would require a simultaneous release of Scafffolding and Reporting (and Linking, and anything else that uses Supplier). Definitely on the todo list, but a fair while off yet I'm afraid.
But yes, it would make things like this a lot easier...
Loading Profile...



EMPLOYEE
