Filtering AssetListScreenletFiltering AssetListScreenlethttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1143879602024-03-29T07:32:20Z2024-03-29T07:32:20ZRE: Filtering AssetListScreenletAndrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1144390922019-07-25T14:24:50Z2019-07-25T14:24:50ZYeah, I know, it can be a bummer sometimes. But, try to think of all the great stuff that you DON'T have to do that Liferay is doing for you out of the box. You're probably still way ahead of the game. If nothing else, at least you know that the Liferay community is here to help when you need it. Andrew Jardine2019-07-25T14:24:50ZRE: Filtering AssetListScreenletLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1144364152019-07-25T14:15:30Z2019-07-25T14:15:30ZThank you, I think we must create our service. :-(László Tóth2019-07-25T14:15:30ZRE: Filtering AssetListScreenletAndrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1144380402019-07-25T14:11:39Z2019-07-25T14:11:39ZI think the bad news is, that sounds too custom to use the generic out of the box. I think you are going to have to build your own screenlet for that one. The out of the box AssetPublisher (and corresponding Screenlet) are really just used for basic listing and filtering.<br />You should still be able to leverage the Liferay API to do most of the heavy lifting for you -- but I don't think, if I understand your requirements, the AssetEntryQuery will work for all of your use cases. Sounds to me like you are going to have to leverage the Journal API, and for some of your more complicated scenarios, I think you might be stuck using a Dynamic Query (as I think someone else on the thread may have suggested)<br />If you need help figuring out how to use other parts of the API though, don't hesitate to ask.Andrew Jardine2019-07-25T14:11:39ZRE: Filtering AssetListScreenletLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1144275302019-07-25T06:58:28Z2019-07-25T06:58:28ZHi! I want to filter asset list by articles, or by some data in articles like date, for example which article's date data in the given interval. <br />Another behaviour is We made a service for User's favorites. User's checking some article into his favorite store (we store articleIds). These articles have different structureId and different Activity to show. I'd like to show him his mixes favorites in another function that hasn't any filter and I want to forward to the specified Activity. So I want to filter assetListScreenlet by articleIds. Can I resolve this, or I must create my own implementation?László Tóth2019-07-25T06:58:28ZRE: Filtering AssetListScreenletAndrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1144134002019-07-24T14:15:21Z2019-07-24T14:15:21ZNormally when you know the article you want to display, you configure the portlet (or screenlet in your case) to use a Manual Query where you are able to then "pick the item" rather than using a Dynamic query. To my knowledge, you can't add "ids" to the asset entry query when you configure it -- I guess because you aren't supposed to know what they are? <img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" >Do you need more than one article? or are you looking to just configure a single item?Andrew Jardine2019-07-24T14:15:21ZRE: Filtering AssetListScreenletLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1143883402019-07-23T12:34:19Z2019-07-23T12:34:19ZThis is the problem... I must ... In keywords I can't use articleId.László Tóth2019-07-23T12:34:19ZRE: Filtering AssetListScreenletMohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1143923422019-07-23T12:30:35Z2019-07-23T12:30:35ZI dont think you can search multiple article ids in single keyword but directly articleid you can search using keywordMohammed Yasin2019-07-23T12:30:35ZRE: Filtering AssetListScreenletLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1143880092019-07-23T12:20:01Z2019-07-23T12:20:01ZThank you! Can you send me an example? for multiple articleIdsLászló Tóth2019-07-23T12:20:01ZRE: Filtering AssetListScreenletMohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1143920082019-07-23T11:48:20Z2019-07-23T11:48:20ZHi,<br /> You can use keyword for filtering with article id Mohammed Yasin2019-07-23T11:48:20ZFiltering AssetListScreenletLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1143879592019-07-23T11:23:37Z