Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Polls data, poll data with votes?
Hi!How can I get the all the polls from the server?In the api there aren't any methods to resolve polls list.There are a method to query poll by questionId (/polls.pollsquestion/get-question) but how can I get questionIds?
The other question is, ok i can get the question data from server with above method, but how can I get votes, choices for the question? I can vote via PollsVote api, but I need a choiceId.How can I do that?
The other question is, ok i can get the question data from server with above method, but how can I get votes, choices for the question? I can vote via PollsVote api, but I need a choiceId.How can I do that?
Can you add a LPS ticket? right now I don't think it's possible... the solution would be adding several remote methods that basically expose the local service methods (and call permissions if needed).
I'm new for LifeRay, how can i add LPS ticket?
Here: https://issues.liferay.com/secure/Dashboard.jspa, request a new account and then create a feature request under the PUBLIC - Liferay Portal Community Edition (LPS) project.
I've asked to move the issue to LPS, it's a portal issue right now.
Can you tell me when will you publish the fix?
You can monitor the status here: https://issues.liferay.com/browse/LPS-97481 (we moved it to LPS because it's a portal issue).
In the meantime you can generate the services yourself, it's basically calling the liferay services builder (https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/what-is-service-builder) in your module and calling the underlying local services for polls... I can guide you a bit or send you the code.
In the meantime you can generate the services yourself, it's basically calling the liferay services builder (https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/what-is-service-builder) in your module and calling the underlying local services for polls... I can guide you a bit or send you the code.
Thank you! We created some services for missing the functions.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™