Recent activity
Subscribe to this feed
Christian N marked one of David Peterson's replies in CustomWare as useful. David Peterson replied to the question "Shouldn't this reports deliver the same output ?".
Christian N marked one of David Peterson's replies in CustomWare as useful. David Peterson replied to the question "Shouldn't this reports deliver the same output ?".
Christian N marked one of David Peterson's replies in CustomWare as useful. David Peterson replied to the question "Shouldn't this reports deliver the same output ?".
Christian N replied on October 28, 2009 13:52 to the question "Shouldn't this reports deliver the same output ?" in CustomWare:
Christian N replied on October 28, 2009 11:44 to the question "Shouldn't this reports deliver the same output ?" in CustomWare:
Hi David,
thx for the answers. I'll try the content-filter for the 3rd report.
The page "Anwendungen" has at this time about 60 children.
It's not a general performance problem of this reports. The main problem is that there are other reports on the templates, so i tried to be most efficient at every report. And if i am able to save some loops, e.g. cycling through all childrens in this case, i would do it.
I thought with the filtering in front of the columns the procedure was something like:
(local-reporter:content:chidlren) get all children and save them temporarily
{collection-filter} filter the above list and save them temporarily till next filter or end of block
(report-column)show all entries from the last filter
Christian N replied on October 28, 2009 08:16 to the question "Shouldn't this reports deliver the same output ?" in CustomWare:
<h1> markup </h1>
i also attached this as a file </>
h4. +Auf diesem Server laufende Anwendungen+
{report-table}
{local-reporter:content:children|source=Anwendungen}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{collection-filter}
{local-reporter}
{report-column:title=Anwendung}{report-info:content:title|link=true}{report-column}
{report-column:title=Funktion dieses Servers}{report-block}
{local-reporter:data:tbSRVRUNAPP}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{local-reporter}
{report-body}
{report-info:data:txtSRVRUNAPPDESC}
{report-body}
{report-block}{report-column}
{report-table}
h4. +Von diesem Server abhängige Anwendungen+
{report-table}
{local-reporter:content:children|source=Anwendungen}
{collection-filter:data:tbSRVDEPAPP|matchItems=any}
{text-filter:data:txtSRVDEPAPPNAME|include=(?i)AIX3}
{collection-filter}
{local-reporter}
{report-column:title=Anwendung}{report-info:content:title|link=true}{report-column}
{report-column:title=Funktion dieses Servers}{report-block}
{local-reporter:data:tbSRVDEPAPP}
{text-filter:data:txtSRVDEPAPPNAME|include=(?i)AIX3}
{local-reporter}
{report-body}
{report-info:data:txtSRVDEPAPPDESC}
{report-body}
{report-block}{report-column}
{report-table}
h4. +Sonstige im Zusammenhang mit diesem Server stehende Anwendungen+
{report-table}
{local-reporter:content:children|source=Anwendungen}
{collection-filter:content:labels|matchItems=any}
{text-filter:label:title|include=(?i)Jira01}
{collection-filter}
{local-reporter}
{report-column} {report-info:content:title|link=true} {report-column}
{report-column} {report-info:data:txtCOMMON} {report-column}
{report-table}
the filters will later be set dynamically by a surrounding report-on:injected=true
If you know a faster way in doing this reports i would be glad.
the result should look like the above image

I was also experimenting with expanding reporter. Is this faster ?
{report-table}
{expanding-reporter:data:tbSRVRUNAPP|as=SRVTABLE}
{local-reporter:content:children|source=Anwendungen}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{collection-filter}
{local-reporter}
{expanding-reporter}
{report-column:title=Anwendung}{report-info:expanded:item>content:title|link=true}{report-column}
{report-column:title=Funktion dieses Servers}{report-block}
{local-reporter:expanded:SRVTABLE}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{local-reporter}
{report-body}
{report-info:data:txtSRVRUNAPPDESC}
{report-body}
{report-block}{report-column}
{report-table}
Christian N replied on October 28, 2009 07:54 to the question "Shouldn't this reports deliver the same output ?" in CustomWare:
Hi,
i attached an image so you can see my results.
The background of all this is, that i want to improve performance of some of my markup.
I have three reports cycling through the same children of a page called "Anwendungen" with a difference only in the filters.
So i thought it might be possible to set the local-reporter once to the children of "Anwendungen" and filter the output in the body.
see markup above.
Christian N replied on October 27, 2009 15:33 to the question "Shouldn't this reports deliver the same output ?" in CustomWare:
Christian N replied on October 27, 2009 13:23 to the question "Shouldn't this reports deliver the same output ?" in CustomWare:
Christian N asked a question in CustomWare on October 27, 2009 13:02:
Shouldn't this reports deliver the same output ?Hi,
i have this scaffolding template on pages under "Anwendungen"
{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}
I try to filter the pages by scaffolding data within the table.
First i use this report with the collection filter within the local reporter
{report-table}
{local-reporter:content:children|source=Anwendungen}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{collection-filter}
{local-reporter}
{report-column:title=Anwendung}{report-info:content:title|link=true}{report-column}
{report-column:title=Funktion dieses Servers}{report-block}
{local-reporter:data:tbSRVRUNAPP}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{local-reporter}
{report-body}
{report-info:data:txtSRVRUNAPPDESC}
{report-body}
{report-block}{report-column}
{report-table}
works great
but with the collection filter outside the local reporter, there are a lot of empty lines
{report-table:injected=true}
{local-reporter:content:children|source=Anwendungen}
{local-reporter}
{collection-filter:data:tbSRVRUNAPP|matchItems=any}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{collection-filter}
{report-column:title=Anwendung}{report-info:content:title|link=true}{report-column}
{report-column:title=Funktion dieses Servers}{report-block-1}
{local-reporter:data:tbSRVRUNAPP}
{text-filter:data:txtSRVRUNAPPNAME|include=(?i)Jira01}
{local-reporter}
{report-body-1}
{report-info:data:txtSRVRUNAPPDESC}
{report-body-1}
{report-block-1}{report-column}
{report-table}
So i think that the collection-filter outside the local-reporter processes the results from the local-reporter afterwards. But shouldn't it prevent the empty results from beeing shown ?
Christian N asked a question in CustomWare on October 26, 2009 08:13:
Is it possible to report within a table-data on a field within the same table-data field ?Hi i have this markup
{table-data:tdSANLUNS}
|| SAN-DSS || Location || test || LUN || Sonstiges ||
| {list-data:ldDSSTYPE|blank=true}
{content-options:parent=SAN-Disksubsysteme}
{list-data}
| {report-info:data:ldDSSTYPE > reference:value > data:ldLOCS>reference:value}
| {report-info:data:tdSANLUNS.ldDSSTYPE > reference:value > content:title}
| {text-data:txtSANLUNS|type=area|width=20em|height=3em}{text-data}
| {text-data:txtSANSONSTIGES|type=area|width=20em|height=3em}{text-data}
| {table-data}
In the second column i want to reference to the page selected in the first column. Is this possible ?
I know this way
{report-on:data:tdSANLUNS}{report-info:data:ldDSSTYPE > reference:value > content:title}{report-on}
But it gives me all entries.
Is there another option ?
We are using Scaffolding 3.12 and Confluence 2.10.3.
Christian N replied on September 29, 2009 07:35 to the question "Writing a usermacro with scaffolding commands ?" in CustomWare:
Hi David,
that's exactly that i tried to explain :)
Such a field would help us, till the above mentioned bug is fixed.
I think creating such a field is easier than fixing the above bug, isn't it ?
Btw. i think this is the related bug
http://greenhouse.customware.net/jira...
at least it is related
regards Christian
Christian N asked a question in CustomWare on September 28, 2009 07:35:
Error messages related to scaffolding and composition pluginHello i got this error messages in the logs
2009-09-28 08:41:17,408 ERROR [http-8181-5] [atlassian.bonnie.search.BaseDocumentBuilder] getDocument Error extracting search fields from page: Leihgeräte v.686 (7504804) using BackwardsCompatibleExtractor wrapping net.customware.confluence.plugin.scaffolding.ScaffoldDataIndexer@3dcfd41f (net.customware.confluence.plugin.scaffolding:scaffoldDataIndexer): null
-- url: /admin/flushindexqueue.action | userName: cneseman | referer: http://confluence01.buenting.de:8181/... | action: flushindexqueue
and another one related to Composition Plugin
2009-09-28 08:14:38,517 WARN [http-8181-18] [atlassian.plugin.servlet.DownloadableClasspathResource] serveResource Error flushing output stream
-- url: /download/resources/net.customware.confluence.plugin.composition:toggle-cloak/img/navigate_right_10.gif | userName: user| referer: http://confluence01.buenting.de:8181/...
How can i resolve this problems ?
I'm using Confluence 2.10.3, Scaffolding 3.12 and composition-plugin-2.3.4.
regards Christian
Christian N replied on September 28, 2009 06:57 to the question "Writing a usermacro with scaffolding commands ?" in CustomWare:
Christian N replied on September 22, 2009 06:24 to the question "Writing a usermacro with scaffolding commands ?" in CustomWare:
Christian N asked a question in CustomWare on September 21, 2009 07:14:
Writing a usermacro with scaffolding commands ?Hi,
as we need an input field for links and normal text-data field doesn't support changing links, i'd like to know if it's possible writing a user macro beeing able to do that.
This user macro would then reference text-data commands and could only be used for inserting links.
regards Christian
Christian N replied on August 31, 2009 07:52 to the question "Live-Templates, dynamic-tasklist and show-to macro" in CustomWare:
Christian N asked a question in CustomWare on August 28, 2009 12:13:
Live-Templates, dynamic-tasklist and show-to macroHi,
i just created a global template, which people should use for their home space.
They only have to add {live-template:PersonalSpace}
I noticed that a show-to:space=edit doesn't work as it should. So even the owner of a personal space can't see anything between the show-to macros.
Without live-template it works.
I'm now using this workaround:
{report-on:injected=true}{show-to:user=%content:space>space:creator>user:name%}{hide-if:action=edit}\[{link-to:page edit}Edit{link-to}\]{hide-if}{show-to}{report-on}
It used to be {show-to:space=edit}{hide-if:action=edit}\[{link-to:page edit}Edit{link-to}\]{hide-if}{show-to}
Another problem i noticed is, that you can't use dynamictasklist in this templates.
You always get the error message i attached here.
Is it a bug of dynamictasklist or a bug in live-template or is it simply not possible cause on how dynamictasklist saves its data.
regards Christian
Christian N replied on August 25, 2009 07:33 to the question "RnR and injected=true - Is it possible to get this to work ?" in CustomWare:
Hi,
i attached two images.
i also changed the code a little bit. Moved the injected=true into the report-column within the replace-and-render block
{replace-and-render}
{replace-item:COLUMNS}{report-block:injected=true}
{local-reporter:content:children|Source=RZBS:Alle Server}
{text-filter:content:title|exclude=CTX-AAC1,CTX-AAC2,CTX-EDGE1,Meta-ADM}
{collection-filter:content:labels|matchItems=any}
{text-filter:label:title|include=citrix_server}
{collection-filter}
{text-sort:content:title}
{local-reporter}
{report-body}\{report-column:title=%title%|injected=true}\list-data:ldzzz%%content:id%%%content:id%\{report-column}{report-body}
{report-block}{replace-item}
{replace-body}{report-table}
{local-reporter:content:children|Source=RZBS:Anwendungen}
{collection-filter:content:labels|matchItems=any}
{text-filter:label:title|include=citrixanwendung}
{collection-filter}
{local-reporter}
{report-column:title=Anwendungen}{report-info:content:title}{report-column}
COLUMNS
{report-table}{replace-body}
{replace-and-render}

| next » « previous |
Loading Profile...






