cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Repeater Widget not visible

SOLVED
Highlighted
Level 8

Repeater Widget not visible

Hey all,

I Have a child mashup that has label, and by using the repeater widget, I could give to the child mashup the parameters in order to set those labels.

I have an infotable that will get , from a database, some data. For each row of that infotable, I would like to use the Repeater widget to create a child mashup and set the label with the good parameters.

The thing is, the repeater widget isn't visible and it won't show the mashup used in the repeater.

I've looked at the tutorial, and she uses a filter which I don't need. So how could I make it visible ?

Thank,

Frederik

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Repeater Widget not visible

I managed to find out what the error is coming from. The Name of the stuff I'm using in the mashup, including its name, have the character "&" in it. When I'm testing without this sign and it works.

13 REPLIES 13

Re: Repeater Widget not visible

What is your item load behavior set on in the widget configuration? Try "load all".

Also, please refer to this article for more information on the repeater widget: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS248670&lang=en_US

Re: Repeater Widget not visible

I just tried it, it doesn't make the widget visible.

I would like to add that the widget property visibility is set to true.

Re: Repeater Widget not visible

Have you tried it in a different browser? Could you please refer to the article I posted above to see if a simple scenario would make the widget work properly - to isolate case-specific problem?

Re: Repeater Widget not visible

I tried on other browsers (chrome.IE and firefox) and it doesn't work.

I've look at the article you've given me, and the only thing I see that's different is that I don't have Generic thing attached to the data, it is only data that I've got from a SQL Query.

Basicily , I'm getting data from SQL and it goes into a datashape.

For each row of that DataShape is a Mashup.

     - Col-1 in the datashape  = label 1 in the mashup

     - Col-2 in the datashape  = label 2 in the mashup

     ...

So I don't need any "Thing" related to those data.

I've done something similar to the repeater widget, but with static shape. so it wouldn't allow me to set more than x amount of shape (according to the dimension I've set). I did that before seeing the repeater widget.

So now with the repeater widget, it would allow me to set y amount of shape, where y = amount of row in the datashape and have it dynamic and not static.

So basically, would it be because I have no "Generic thing" that it won't allow me to see the mashups of the repeater ?

Re: Repeater Widget not visible

You don't need any "generic thing" as it only requires an infotable with information. As a troubleshooting step, could you please try adding a temporary grid, and binding the same data to it - to make sure it's showing up?

On the other hand, why I asked you to see if that simple example from the article would work -- even if the repeater wasn't feeding right, it should display something, with no information. In your case, it's fully invisible. That's why I wanted to try and isolate a bug, if it is.

Re: Repeater Widget not visible

Oh ok,

I've made some correction on the repeater,

Now the repeater shows up, I've found out that the event wasn't triggering.

But it doesn't let me see the repeated mashup. I'm now receiving this error :Could not load "NameOfMashup", internal exception 5.

I've looked in the log and it says :

16:09:24 ERROR - mashupcontainer.runtime ... An error occurred while loading mashup "NameOfMashup" Exception: Syntax error, unrecognized expression: #Mashupdb568958-c296-4ae5-99bd-ed9c09485e0d_NameOfMashup

In this Mashup, I only have parameters that are bound on labels.

I have no services and I've set some styles.

Re: Repeater Widget not visible

Are you doing it as an administrator? Mashup name is bound in the repeater configuration? I'd also check your child mashup configuration/parameters.

Re: Repeater Widget not visible

Yes i'm doing it as an administrator and I've just created a new mashup to try a "clean" mashup and I'm still getting the same error.

Re: Repeater Widget not visible

I managed to find out what the error is coming from. The Name of the stuff I'm using in the mashup, including its name, have the character "&" in it. When I'm testing without this sign and it works.