Get your own customer support community

Recent activity

Subscribe to this feed
  • question
  • question

    shweta replied on October 21, 2009 04:11 to the question "Display Distinct records in column ising reporting plugin" in CustomWare:

    shweta
    Hey Alex,
    i just need to implement distinct column in my application.
    Can you will just have quick view.
    I have tried repeat filter in combining reporter but that doesnt works.
  • question

    shweta replied on October 20, 2009 13:01 to the question "Display Distinct records in column ising reporting plugin" in CustomWare:

    shweta
    {report-table}
    {content-reporter:space=@self|types=page|scope=Example Links List >descendents|labels=idea}
    {content-reporter}

    {repeat-filter:data:subject_area > reference:value}

    {report-column:title=Subject}{report-info:data:subject_area > reference:value}
    {report-column:title=Type}{report-info:data:idea_type}{report-column}
    {report-column}

    {report-table}

    I have tried this But it shows blank column...
    and when I use combining reporter this shows nothing...
  • question
  • question
  • question

    shweta asked a question in CustomWare on October 12, 2009 12:59:

    shweta
    Display Distinct records in column ising reporting plugin
    Hi David,

    I have wrote a following Code.

    {table-plus}

    {report-table}

    {content-reporter:space=aa|types=page|scope=Example Links List >descendents|labels=idea}

    {text-filter:data:subject_area}

    {text-sort:content:title\|order=ascending}

    {content-reporter}

    {report-column:title=Type}{report-info:data:idea_type}{report-column}

    {report-table}

    {table-plus}

    This Only shows the TYPE column.
    I wish to show only distinct values in column.
    For ed. If I have one entry of Type 'A' And Two Entries OF Type 'B'

    Then the report should only display Two rows Not the three Rows.
    With Entry of A and B
    And Not A, B, B
    How to write a code for the distinct entry?

    --
    With warm Regards
    --
    Shweta
  • question

    shweta replied on September 14, 2009 08:09 to the question "Lost in {Report Block}" in CustomWare:

    shweta
    Thanks David.
    But I suppose I m doing some mistake.

    The above code gives me output but it just fetch all the data in all charters and post it in single table multiple times.

    I wish to print data differently for every charter.
    I suppose I will have to search for another way to display this .
    May be I will chang the view level

    Thanks David
    :)
  • question

    shweta asked a question in CustomWare on September 11, 2009 12:36:

    shweta
    How the supplier will post tasklist data to reporting plugin?
    I have seen the code for the tracking plug-in but it is quite tough to understand the flow.
    Even I have set up with the project specification as it is maintioned in Supplier Library
    Supplier

    But still I m not clear how and which supplier will talk to the class I m crating. what is the exact flow that confluence expect.
    I would like to read task assigned to user by {tasklist} macro.

    If tasklist macro assigns task to shweta I'm interested in showing all tasks assign to shweta. in tabluar form.
    Can you will help me out with the pseudo code.
    I need to develop this and this may help me to better understand confluence.
  • question

    shweta replied on September 11, 2009 07:02 to the question "Lost in {Report Block}" in CustomWare:

    shweta
    Thanks David
    But Nope this doesnt solve my purpose

    I could not add image on the site as it is giving me an error 'responseText'
    is null or not an object.

    i may send you the images or code on your Id.

    I will try if I could describe the scenario.
    Page structure is as follow

    2009
    | 2009 Strudent
    | ---> student1
    | ---> student2
    | ---> student3
    |
    | Student List

    I have to display list of student in the Student list not in 2009 student.

    Student tempate is as below
    {html}
    <style>

    #children-section, #labels-section {
    display:none;
    height:0px;
    }

    TABLE.blue_dot th {
    background-color:treedface;

    }

    TABLE.bd_header {
    width:800px;

    }
    .textdetails
    {
    border:none;
    font-family: "Times New Roman";

    font-style:italic;
    vertical-align:top;
    }

    </style>{html}

    {table:class=bd_header|cellpadding=0|cellspacing=0}

    {tr}{th:colspan=4}h3.Source of Funds:{th}{tr}
    {tr}{td:class=textdetails|colspan=4}
    {text-data:s-f|content=wiki|type=area|width=95%|height=75px} {td}{tr}

    {tr}{th:colspan=4}h3.Source of Return:{th}{tr}
    {tr}{td:class=textdetails|colspan=4}
    {text-data:s-r|content=wiki|type=area|width=95%|height=75px}{text-data} {td}{tr}
    {tr}{th:colspan=4}\\{th}{tr}

    {tr}{th:colspan=4}h3.Travel Costs:{th}{tr}
    {tr}{td:class=textdetails|colspan=4}
    text-data:travel_cost|content=wiki|type=area|width=95%|height=75px}{text-data} {td}{tr}
    {tr}{th:colspan=4}\\{th}{tr}

    {table}

    h3.Labor Cost Details:
    {table-data:cls|width=790px|cellpadding=0|cellspacing=0}
    ||Position||Estimated Rate||Location||Jan||Feb||March||April||May||June||July||Aug||Sept||Oct||Nov||Dec||
    | {text-data:Position|width=50px}{text-data} | {number-data:est|width=50px}{number-data} |{text-data:Location|width=50px} | {number-data:Jan|width=50px}{number-data} | {number-data:Feb|width=50px}{number-data} | {number-data:March|width=50px}{number-data} | {number-data:April|width=50px}{number-data} | {number-data:May|width=50px}{number-data} | {number-data:June|width=50px}{number-data} | {number-data:July|width=50px}{number-data}| {number-data:Aug|width=50px}{number-data} | {number-data:Sept|width=50px}{number-data}| {number-data:Oct|width=50px}{number-data} | {number-data:Nov|width=50px}{number-data} | {number-data:Dec|width=50px}{number-data} |
    {table-data}

    ______________________________________________________

    And the List template code is as below

    {report-block}

    {content-reporter:types=page|scope=2009 Strudent> children}
    {text-filter:data:FormName|include=Student}
    {content-reporter}

    {report-body}

    ||Student ||Teacher||
    ||{report-info:page:title}||{page-info:created-user}||

    h3. Position

    {report-table}
    {expanding-reporter:data:cls|as=cls}
    {local-reporter:page:2009 Charters> page:children}
    {text-sort:page:title}
    {text-filter:data:FormName|include=Opportunity}

    {local-reporter}
    {expanding-reporter}

    {report-column:title=Position}{report-info:expanded:cls > data:Position}{report-column}
    {report-column:title=Estimated Rate}{report-info:expanded:cls > data:est}{report-column}
    {report-column:title=Location}{report-info:expanded:cls > data:Location}{report-column}
    {report-column:title=Jan}{report-info:expanded:cls > data:Jan}{report-column}
    {report-column:title=Feb}{report-info:expanded:cls > data:Feb}{report-column}
    {report-column:title=March}{report-info:expanded:cls > data:March}{report-column}
    {report-column:title=April}{report-info:expanded:cls > data:April}{report-column}
    {report-column:title=May}{report-info:expanded:cls > data:May}{report-column}
    {report-column:title=June}{report-info:expanded:cls > data:June}{report-column}
    {report-column:title=July}{report-info:expanded:cls > data:July}{report-column}
    {report-column:title=Aug}{report-info:expanded:cls > data:Aug}{report-column}
    {report-column:title=Sept}{report-info:expanded:cls > data:Sept}{report-column}
    {report-column:title=Oct}{report-info:expanded:cls > data:Oct}{report-column}
    {report-column:title=Nov}{report-info:expanded:cls > data:Nov}{report-column}
    {report-column:title=Dec}{report-info:expanded:cls > data:Dec}{report-column}

    {report-table}

    ||Source of Return:||
    |{report-info:data:s-r||render=wiki}|
    ||Travel Costs:||
    |{report-info:data:travel_cost|render=wiki}|

    {report-body}

    {report-block}

    I get everything else correct but only table is giving problem .

    Please Help
  • question

    shweta asked a question in CustomWare on September 10, 2009 13:58:

    shweta
    Lost in {Report Block}
    I m using a {report-block} macro to list table in the template.
    The code I have used

    {report-table}
    {expanding-reporter:data:cls|as=cls}
    {local-reporter:page:children}
    {text-sort:page:title}
    {text-filter:data:FormName|include=Student}
    {local-reporter}
    {expanding-reporter}

    {report-column:title=Position}{report-info:expanded:cls > data:Position}{report-column}
    {report-column:title=Location}{report-info:expanded:cls > data:Location}{report-column}
    {report-column:title=Jan}{report-info:expanded:cls > data:Jan}{report-column}
    {report-column:title=Feb}{report-info:expanded:cls > data:Feb}{report-column}
    {report-column:title=March}{report-info:expanded:cls > data:March}{report-column}
    {report-column:title=April}{report-info:expanded:cls > data:April}{report-column}
    {report-column:title=May}{report-info:expanded:cls > data:May}{report-column}
    {report-column:title=June}{report-info:expanded:cls > data:June}{report-column}
    {report-column:title=July}{report-info:expanded:cls > data:July}{report-column}
    {report-column:title=Aug}{report-info:expanded:cls > data:Aug}{report-column}
    {report-column:title=Sept}{report-info:expanded:cls > data:Sept}{report-column}
    {report-column:title=Oct}{report-info:expanded:cls > data:Oct}{report-column}
    {report-column:title=Nov}{report-info:expanded:cls > data:Nov}{report-column}
    {report-column:title=Dec}{report-info:expanded:cls > data:Dec}{report-column}

    {report-table}

    The code works fine in the scenario where all the pages where cls table is , are childrens of the page.
    I would like to add this code to the page where all the pages are chldrens of the Sibling.
    For eg. Scaffold templates (pages) are childrens of A page And A and B are on same Hirarchy. I would like to List the table data in B Page

    I have change {expanding-reporter} as follow

    {expanding-reporter:data:cls|as=cls}
    {content-reporter:space=concharter|types=page}
    {text-sort:page:title}
    {text-filter:page:title|include=

    I dont know what to pass here.

    {content-reporter}
    {expanding-reporter}

    Please Help

    Thanks
    Shweta
  • question

    A comment on the question "Text-Filter is not working" in CustomWare:

    shweta
    Hey David..
    opportunity filter works properly.
    Even if I removed the filter.The only Mydata filter doesnt work properly..
    {set-data:FormName|hidden=true}Opportunity{set-data} is the code I have used for settin form Name. – shweta, on September 08, 2009 05:23
  • question

    shweta asked a question in CustomWare on September 07, 2009 08:24:

    shweta
    Text-Filter is not working
    I m working on Contractor charter Version List.

    Have written one macro for the same {forvendorcontract} returns true or false.

    If the charter is Hired macros returns False And if not hired or any other status macro returns True.

    This value I’m saving in then variable call Mydata in combo template using

    {replace-and-render}

    {replace-item:%value%}

    {forvendorcontract}{page-info:title}{forvendorcontract}

    {replace-item}

    {replace-body}

    {set-data:Mydata|type=text|hidden=true}%value%{set-data}

    {replace-body}

    {replace-and-render}

    Then I wish to set filter in List for Mydata in contract template because I wish to list only those charter which are not hired so wish to exclude true. Here is the code I have wrote.

    {content-reporter:types=page|scope=2009 Charters> children}

    {text-filter:data:FormName|include=Opportunity}

    {text-filter:data:Mydata|exclude=False}

    {content-reporter}

    But the filter is not working fine on this template though value of Mydata is accessible on List page using

    {report-column:title= Mydata|width=150px|class=topline}{report-info:data:Mydata}{report-column}

    You can view template here...

    If you could figure out, please let me know.