Hi!
I'm looking for the command to alter pages in a space that not contains the excerpt macro.
I'd like to add an empty or default excerpt.
I'm not shure if it is possible in a single command. Do i have to get a list of that pages before/as input for the storePage action?
And how to say: not contains excerpt.
Danke!
Matze
There are a couple of approaches:
Thank u Bob for the quick answer.
Now i see the way to getPageSource, modify and storePage.
To find pages already have excerpt will be easy. I'll try it tomorrow.
But what's with the rest, these without?
Have i overseen a way to negate the find result?
Do you mean i have to use sql to get these results? Or will the search parameter (confluence search syntax) do it for me?
Thank u!
Matze
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very difficult to say: NOT ;-)
"NOT excerpt" without any further search criteria...
But I think that will work (it does in confluence search): "type:page NOT excerpt"
I'll try it with your suggestions and the --search param.
TU!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.