training 6.6 data queries and widgets 2

i have a question about the training of making an website. It is from 6.6 data queries and wedgets 2 at page 8 it says i need to wright “Add Cast/Crew to “ + GetMovieById.List.Current.Movie.Title, but it does not work for me and i am getting an syntax error caused by unexpected cast element in expression. Can you help me with this? thank you in advance

Champion
Solution

Hi Erdinc,

You missed out '+' to concatenate Static text and Aggregate value.

Copy and paste following expression in your editor.

Add Cast/Crew to “ + GetMovieById.List.Current.Movie.Title  


Hope this helps!!

hi Erdinc,

Please check if you have the required data fetched in your aggregate in the preparation of your page and you are using the correct attribute to set the Title.

Regards,

Shilpa Uppund

mvp_badge
MVP

Hi,

Make sure to use " and not   “

Regards,

Daniel

Champion

Hi Erdinc,

Could you please show us your expression in expression editor so that we can tell you what is exactly is going wrong?

In this “Add Cast/Crew to “ + GetMovieById.List.Current.Movie.Title ,

Add Cast/Crew to “ - Static text, hence it should be always in quotes ("")

GetMovieById.List.Current.Movie.Title : Dynamic value which you are fetching from your aggregate.


Please make sure you have quotes mentioned properly in your expression.

Thanks!!

Hi Thank you all for answering.. Below is a screenshot of the errors that i receive i don,t no what is going wrong


Champion
Solution

Hi Erdinc,

You missed out '+' to concatenate Static text and Aggregate value.

Copy and paste following expression in your editor.

Add Cast/Crew to “ + GetMovieById.List.Current.Movie.Title  


Hope this helps!!

Hi Shweta, yes that helped thank you very much. Have a nice day

Champion

We are always here to help you :). 

Have a great learning!!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.