Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reading quickpoll data via code

Hello,

i am trying to access quickpoll data stored in the KM and export it to a file. So far i have found no javadocs or documentation, only these threads https://www.sdn.sap.com/irj/sdn/thread?threadID=138683 and https://www.sdn.sap.com/irj/sdn/thread?forumID=42&threadID=98430

I have been trying to retrieve the name of all campaigns stored in my system using the class QPResourceManager in 'km.appl.ui.quickpoll_api.jar':

QPResourceManager gestorVotaciones = new QPResourceManager(contexto);
votaciones = gestorVotaciones.getAllCampaigns();

but it returns:

Invalid RID: No repository manager found for prefix: /qpdocuments

I have searched inside the class and found that this prefix is hardcoded in the constructor of QPBaseService (called by the constructor of QPResourceManager):

public QPBaseService()
{
    campaignChanged = true;
    repPrefix = "/qpdocuments";
    lock = new Object();
}

I'm working on a NW04s SP13 portal and there is no repository with that prefix created but quickpolls do work.

Any ideas? Suggestions?

Thanks you all for your help,

J. Herranz

Former Member
Not what you were looking for? View more on this topic or Ask a question