Recent activity
Subscribe to this feed
Christian N replied on February 17, 2010 15:22 to the question "Exporting pages with reporting-macros to html creates non-working links" in CustomWare:
Hi,
i fully understand that. I really appreciate the work you're doing and would never demand of you to do that in such a short time.
Cause it's always hard to get money for such projects here at my company (as long as there are other solutions) i'll think i have to wait till you have some time to fix that.
Keep up the good work. You and the guys at customware are doing an awesome job in developing all the great plugins which are really a 'must' for Confluence.
Thanks for your effort in investigating this problem.
regards Christian
Christian N replied on February 17, 2010 12:56 to the question "Exporting pages with reporting-macros to html creates non-working links" in CustomWare:
Christian N replied on February 12, 2010 09:05 to the question "Exporting pages with reporting-macros to html creates non-working links" in CustomWare:
Christian N replied on February 12, 2010 07:52 to the question "Exporting pages with reporting-macros to html creates non-working links" in CustomWare:
Hi,
thanks for the answers.
@Desmond Lam
That's not an option for us. I think Bo Wan is right. The relative-linking could be the problem.
Here are the urls to the same page
the links from index.html:
file://///fileserver/Folder/Confluence/VLAN/Zentrale%20Subnetz%20-%20xx.xx.xx.xx%20%28Home-User%29.html
the link from the page with the report
file:///display/VLAN/Zentrale+Subnetz+-+xx.xx.xx.xx+%28Home-User%29
@Bo Wang
Nice idea. But sadly it doesn't work.
I'll only get links to the page with the report not to the child pages.
Christian N asked a question in CustomWare on February 11, 2010 13:57:
Exporting pages with reporting-macros to html creates non-working linksHi,
i tried to a export a whole space to html.
On some of this pages i have a simple report which lists all children and generates a link
{panel:bgColor=#F5F5F5}
{hide-if:display=printable}
{add-page-form:nameWidth=25em}V-Lan hinzufügen{add-page-form}
{hide-if}
\\
{report-block}
{local-reporter:content:children}
{text-sort:content:title|mode=bitwise}
{local-reporter}
{report-body}
h4. {report-info:content:title|link=true} \\
{report-body}
{report-block}
\\
{panel}
The child pages titles have some spaces in them:
e.g. Zentrale - VLAN XX - 192.168.XX.XX (NAME)
but the link generated is something like this
h4>a name="Zentrale-\\"> a> a href="/display/VLAN/Zentrale+-+VLAN+XX+-+192.168.XX.XX+%28NAME%29">Zentrale - VLAN XX - 192.168.XX.XX (NAME) /a> /a> br clear="all"> /h4>
if u use the children macro instead of a report everything is fine
Does anyone got an idea how this problem could be solved
Christian N replied on January 19, 2010 07:20 to the question "Can reporting data be used to define scaffolding list-options?" in CustomWare:
Christian N replied on January 15, 2010 07:14 to the question "Can't log into Greenhouse jira anymore !" in CustomWare:
Christian N marked one of Timothy Chin's replies in CustomWare as useful. Timothy Chin replied to the question "Can't log into Greenhouse jira anymore !".
Christian N asked a question in CustomWare on January 14, 2010 09:51:
Can't log into Greenhouse jira anymore !Hi,
tried to raise a bug, but i can't log into greenhouse jira anymore.
My password is right (if i enter a false one i get a message) but the login action is not completed.
Is there any known bug ?
Christian N replied on January 14, 2010 06:51 to the question "Can reporting data be used to define scaffolding list-options?" in CustomWare:
Hi,
glad it works now!
Btw. you should never do a line return directly after the opening {replace-item} and there also shouldn't be a line return in front of the closing {replace-item}.
These line returns will be written into the variable.
I also wonder why putting the whole code into the RNR-Code doesn't work for you, cause my above example worked here (Maybe also a line return at yours?)
Christian
Christian N replied on January 13, 2010 06:58 to the question "Can reporting data be used to define scaffolding list-options?" in CustomWare:
Hi,
first you have made a little mistake.
With your code you have a double list-option after RNR had replaced your REPLINST variable
{list-option}REPLINST{list-option}
-> {list-option}{list-option}company{list-option}{list-option}
so try to remove the {list-options} from this line
{list-option}REPLINST{list-option}
if this doesn't work, try to set the whole table-data within the replace-body part.
{replace-and-render}
{replace-item:REPLINST}{report-block:injected=true}
{expanding-reporter:data:Institutions|as=inst}
{content-reporter:space=@self|types=page|scope=Institutions}{content-reporter}
{expanding-reporter}
{report-body} \{list-option} {report-info:expanded:inst > data:collabInstitution|render=wiki} \{list-option} {report-body}
{report-block}{replace-item}
{replace-body}
*Institutions:*
{table-data:Institutions}
|| Participating Institution ||
| {list-data:agreementInstitution|type=select|multiple=false|blank=true}
REPLINST
{list-data} |
{table-data}
{replace-body}
{replace-and-render}
Christian N replied on January 12, 2010 06:52 to the question "Can reporting data be used to define scaffolding list-options?" in CustomWare:
Christian N replied on January 11, 2010 14:13 to the question "Reporting on values from table-data rows" in CustomWare:
Christian N replied on January 07, 2010 08:18 to the question "Can reporting data be used to define scaffolding list-options?" in CustomWare:
Yes, it's possible but a little bit tricky. And you need the replace-and-render plugin.
You then have to specifiy the list-options within the report and escape them.
Examples
{replace-and-render}
{replace-item:%USERS%}{report-block:injected=true}
{user-reporter:user}
{text-sort:user:full name>text:match .*\\\\s(.*) > match:group 1}
{user-reporter}
{report-body}\{list-option:%user:full name%}\[~{report-info:user:name}\]\{list-option}{report-body}
{report-block}{replace-item}
{replace-body}
{list-data:ldUSERS|multiple=true}%USERS%{list-data}
{replace-body}
{replace-and-render}
{replace-and-render}
{replace-item:USRTABLE}{report-block:injected=true}
{local-reporter:content:children|SOURCE=Alle Server-Anwendungen}
{text-sort:content:title}
{local-reporter}
{report-body}\{tr:class=confluenceTr}\{td:class=confluenceTd}\[{report-info:content:title}\]\{td}\{td:class=confluenceTd}\{list-data:ld%content:id%|type=select|multiple=true|height=8em}\{list-option}\{list-option}\{user-options:groups=bit.users}\{list-data}\{td}\{tr}{report-body}
{report-block}{replace-item}
{replace-body}
{table:class=confluenceTable}
{tr:class=confluenceTr}
{th:class=confluenceTh}Anwendung{th}{th:class=confluenceTh}Ansprechpartner{th}
{tr}
USRTABLE
{table}
{replace-body}
{replace-and-render}
I hope this helps you.
Christian N replied on January 07, 2010 07:49 to the question "Nested collection-filter ?" in CustomWare:
Yeah solved my problem. I was wrong, the collection-filter is not needed.
All i had to do, was setting the matchItems to none and include the tag which should not appear
That's the working code.
{report-table}
{local-reporter:content:children|source=Alle Server-Anwendungen}
{collection-filter-1:data:tbSRVRUNAPP|matchItems=none}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)%content:title%}
{collection-filter-1}
{collection-filter-2:data:tbSRVDEPAPP|matchItems=none}
{text-filter:data:txtSRVDEPAPPNAME|include=(?i)%content:title%}
{collection-filter-2}
{content-filter:@self|label=%content:title%}
{text-sort:content:title}
{local-reporter}
{report-column:title=Anwendung} {report-info:content:title|link=true} {report-column}
{report-column:title=Funktion dieses Servers} {report-info:data:txtCOMMON} {report-column}
{report-table}
Christian N asked a question in CustomWare on January 06, 2010 16:46:
Nested collection-filter ?Hi,
i want to filter pages beneath a specific page. All these pages depend on the same template.
The template has this markup.
{table-data:tbSRVRUNAPP}
|| Name ||Funktion||
| {hidden-data}{text-data:txtSRVRUNAPPNAME|width=15em}{text-data}{hidden-data}{hide-if:action=edit}{replace-and-render}{replace-item:%SYSTEMNAME%}{get-data:txtSRVRUNAPPNAME}{replace-item}{replace-body}[%SYSTEMNAME%]{add-label:%SYSTEMNAME%}{replace-body}{replace-and-render}{hide-if}
| {text-data:txtSRVRUNAPPDESC|width=45em}{text-data}
| {table-data}
\\
{table-data:tbSRVDEPAPP}
|| Name ||Funktion||
| {hidden-data}{text-data:txtSRVDEPAPPNAME|width=15em}{text-data}{hidden-data}{hide-if:action=edit}{replace-and-render}{replace-item:%SYSTEMNAME%}{get-data:txtSRVDEPAPPNAME}{replace-item}{replace-body}[%SYSTEMNAME%]{add-label:%SYSTEMNAME%}{replace-body}{replace-and-render}{hide-if}
| {text-data:txtSRVDEPAPPDESC|width=45em}{text-data}
| {table-data}
Now i want to filter all pages which have a label-text which is not in the fields "txtSRVRUNAPPNAME" and "txtSRVDEPAPPNAME"
So if a page has a label "fileserv" and this text is also in one of the just mentionend fields, this page should not be shown.
My first try was this:
{report-on:injected=true}
{report-table}
{local-reporter:content:children|source=Alle Server-Anwendungen}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|exclude=(?i)%content:title%}
{collection-filter}
{collection-filter:data:tbSRVDEPAPP|matchItems=any}
{text-filter:data:txtSRVDEPAPPNAME|exclude=(?i)%content:title%}
{collection-filter}
{content-filter:@self|labels=+%content:title%}
{local-reporter}
{report-column:title=Anwendung} {report-info:content:title|link=true} {report-column}
{report-column:title=Funktion dieses Servers} {report-info:data:txtCOMMON} {report-column}
{report-table}
{report-on}
I know it can't work.
I think i have to do this with nested collection-filters but had problems to realise that.
tried this for example, but it doesn't work
{report-table}
{local-reporter:content:children|source=Alle Server-Anwendungen}
{collection-filter-1:@self|matchFilters=any}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|exclude=(?i)%content:title%}
{collection-filter}
{collection-filter:data:tbSRVDEPAPP|matchItems=any}
{text-filter:data:txtSRVDEPAPPNAME|exclude=(?i)%content:title%}
{collection-filter}
{content-filter:@self|labels=+%content:title%}
{collection-filter-1}
{local-reporter}
{report-column:title=Anwendung} {report-info:content:title|link=true} {report-column}
{report-column:title=Funktion dieses Servers} {report-info:data:txtCOMMON} {report-column}
{report-table}
Any idea ?
Loading Profile...







