Get Repository Service from Renderer

Hello All
I need a repository service for storing and customization some parameters for my KM property renderers. I wrote such service and can see it in KM->Content Management->Repository Services. But when I try to get a list of all repository services, for example
IRepositoryServiceFactory sf = ResourceFactory.getInstance().getServiceFactory();
Collection srvAll = sf.getAllServices();
But I don't see my service in that list. And so, when I try to get parameters from my service I have nothing.
What's wrong?
Could you give any tips about getting repository service parameters out of KM property renderer?

Thanks Helmut
But, point is that the methods getAllServices() or getAllRepositoryServices() return IRepositoryService inetrface alone or in Collection, for example
Collection sf_collection = resource.getRepositoryManager().getAllServices();
or
IRepositoryService svc = resource.getRepositoryManager().getService("Name of my Service");
But unfortunately this interface don't enable to get configuration parameters of this service that I can change on portal. In other words, I set the attributes
<attribute name="new_attribute" type="string" mandatory="true" default="2" />
<attribute name="other_attribute" type="string" mandatory="true" default="5" />
in file MyServiceName.cc.xml and can to change this parameters on portal. How can I get this values from other my components?

Similar Messages

  • I wants to know if i purchase sony mobile through online i will get the service from sony service ce

    i wants to know if i purchase sony mobile through online i will get the service from sony service centre or not???

    HI arshak,
    Greetings! At your convenience, please reach out to our colleagues at Sony Mobile for further assistance with your question. You can reach them at this site: http://www.sonymobile.com/global-en/support/contact-us/contact-info/  Thanks for your message today!

  • Does anyone ever get customer service from this company?

    Does anyone ever get customer service from this company? I have been trying to find out how to rotate the view of a page in digital editions by 90 degrees so I can read my digital download. I am going in circles

    gaylyn -- What kind of problem are you having?  If you tell us, we can help you figure out where to ask your question.  Is it about a password problem? If it is, tell us which password, OK?  To your Mac, or to a program?   Or is it something else?

  • Delete Repository Service from portal

    Hi.
    I want to completely remove a custom Repository Service from my NW04s/SP9 Portal. I already deleted the service config and undeployed the containing par.
    What else?
    Jan

    Check out this thread. Something similar would do for a KM Repository as well.
    <a href="https://forums.sdn.sap.com/click.jspa?searchID=2812737&messageID=608126">https://forums.sdn.sap.com/click.jspa?searchID=2812737&messageID=608126</a>

  • Need Urgent Help With Getting Intl Service from Bangkok

    Before I arrived in Bangkok, I spoke with Verizon CS from the US because I needed Intl Service on my Iphone 4. My boyfriend has an Iphone 5 and was able to add a calling plan in 5 minutes of calling Verizon CS. I then called Verizon CS, and was told that my Iphone 4 cannot be used in Thailand. I told the CS Rep that my boyfriend just added the service on his Iphone 5, and did the same on a trip to Thailand last year with an Iphone 4. She told me that with an Iphone 5 he also cannot use the service in Thailand without a Sim Card or Global Phone? I then put him on the phone with her, and they spoke for ten minutes about this before my plane departed.
    I have been in Bangkok since 04MAR14 trying to reach Verizon by web, Instant Chat, phone, and even called Verizon 611 from my boyfriend's handset. he call Failed! He then gave me this number to call Verizon Global Support: 908-559-4899. I have called this number numerous times from the hotel. The recording does not recognize when I "Press 1" or "Press 2", and proceeded to hang up on me several times. Is there no human at Verizon that help me????? I have spent approx 3 hours now trying to contact Verizon since 04MAR14. I am supposed to be enjoying my vacation here. Can someone please address these questions immediately?
    1. Am I currently being charged to use WIFI in Thailand?
    2. I transited Tokyo on 03MAR, and tried to call Verizon Support from my Handset, which Failed. Am I being charged for that?
    3. What message do my contacts receive when they text me in the US?
    4. Can I activate message response to contacts in the US now telling them that I am out of the country until the evening of 11MAR14?
    Please help me, I am extremely frustrated, as I desparately want Phone service here in Thailand, and I am transiting back to Tokyo on 10MAR14, arriving there at 245pm, and I will need Phone service there as well.
    Sincerely,
    Nancy
    Private info removed as required by the Terms of Service.
    Message was edited by: Admin Moderator

        I'm so sorry you haven't been able to get any service while traveling NancyStuckInThaiWithNoService, as well as for not being able to get a hold of anyone to assist you. I'm happy to answer your questions here. As you mentioned, the iPhone 4 is not a Global phone. Therefore, you can only use on a CDMA network, (not GSM). Thailand is GSM/Global, Japan/Tokyo is CDMA; therefore, you can use phone there. (It could be settings were not set correctly to use in Tokyo.
    1. If you're using WiFi, there is no charge. Its best to turn Mobile Data off in Settings to avoid any International charges.
    2. Japan/Tokyo calls are $1.99/minute. However, if trying to reach Global Support, you will not be charged.
    3. Your contacts don't receive any notification when they text you. They may get some alert days later, that the message was not received by you/ or it has been timed out, but it won't say why.
    4. If you're able to use another phone, and call your mobile number, you can press # when you hear your voice mail greeting, enter password, then # again, to change personal greeting. You're able to update greeting with notification that you're traveling.
    ** When back in Tokyo, you can go to Settings & make sure Airplane Mode is OFF. Also, you can go to General, (from Settings),> Network> Cellular Data- ON> Data Roaming- ON.***
    Here are rates while in Japan/Tokyo http://vz.to/18TRKVE
    Lastly, it may be easier to reach us on Facebook at Verizon Wireless, or on Twitter at @VZWSupport
    Thank you,
    VanessaS_VZW
    Follow us on Twitter @VZWSupport

  • Inactive Gift Card - How do you get constructive service from Apple?

    I bought a Gift Card on 22 October from the local supermarket.  It apparently wasn't activated by them.  Somehow Apple have made that my problem.  My first request was answered by a computer.  I am now dealing with humans who do not seem to have any authority to resolve the issue.  This is a ridiculous waste of peoples time over something that is relatively simple. 
    How does anyone ever get Apple to resolve an issue?  Is anyone within Apple actually authorised to make a decision?  Honestly, I am exasperated.  How does anyone get Apple to resolve these issues?
    For the last 3 weeks I have been patient - a model citizen.  Here is my latest email.  Apple keep removing its content.  They have also removed previous threads.  I have edited it slighltly for privacy reasons if that is their problem:
    This verging on the ridiculous.  I was quite excited to get my first iPhone.  Now I am not.  This has taken weeks to resolve.  It has included my returning to the store to be told that they can not help me and to contact Apple.  I contacted Apple, number [########] and received nothing but an automated response that had absolutely nothing to do with the inactive card.  Apple did nothing else and then sent me a satisfaction survey.  I could not believe that.
    [#######]  is my second attempt.  I have now spent hours trying to get this resolved.  We are talking about NZ$30 here! It is not the crown jewels.  It is not the value of an iPod, iPhone, or iPad.
    I have proved that I purchased the card, again and again.  Obviously, for whatever reason, it was not activated at the store.
    We have consumer laws in New Zealand.  I know them well.  I should never have let the store send me back to Apple as under our consumer laws it is the stores problem to solve.  It should not have been my problem and I should not have been put to this trouble.  I am not a criminal.  I purchased an iTunes card that didn't work.  That should be Apple's problem and the Countdown Store's problem.
    So that this is in language that hopefully Apple can understand - iMad.  Yes, very angry.  Angrier than an 'Angry Bird'.
    What I will do is:
    Tell everyone I know not to buy an iTunes card.  There is no service associated with it.
    Tell everyone I know that Apple spends weeks messing you around and does not actually provide any service.
    Tell everyone I know that Apple has a great product let down by poor service processes.
    What I do want to make very clear is that I do not hold you or [name] responsible.  At least I am dealing with humans after the nonsense automated response I first received.  However, someone in Apple somewhere must be able to make a decision.  Whoever it is and wherever they are please pass on the following message - STOP MESSING ME AROUND!  I deserve an iPad2 for the time you have taken out of my life.  I can never get those hours back.

    We have consumer laws in New Zealand.  I know them well.  I should never have let the store send me back to Apple as under our consumer laws it is the stores problem to solve.
    You have let the original store off the hook? I think this is where I would spend all my focus. They need to activate it, not Apple.

  • How do I get Customer Service from people who do not want to give it?

    I recently went into a Verizon store to try to upgrade my phones. I am on a Family Plan. When I renewed my contract 2 years ago, one of the phones received was defective. After going back to the store several times, it still did not work properly. I asked for a replacement. I was sent a refurbished phone, which I did not want and complained. I sent it back and was finally sent a new phone. Now it's time to upgrade. The catch is that the date I can upgrade on 1 phone was set back 2 months-- the time it took to resolve the problem with the defective phone. In essence, I was being punished fo rreceiving a defective phone. The clerk in the store called customer service for me. I spoke to someone who had the authority to make

    sfocean wrote:
    Thanks for your reply. Yes, I agree that when a new phone is purchased, the contract date is renewed as well. However, I had just purchased new phones and one was defective- not my fault. After their failed attempts to get this phone to work, I finally received a working phone, as described in my post. It seems unconscionabl;e to me that they would do something like this. So-I'm on a "Family Plan" with 2 different contract dates? Doesn't make sense. Also, how can they institute a new contract without my ok?
    Appreciate the feedback.
    1st of all, by activating the "new" phone, you are agreeing to the ToS and "giving your ok".
    Next, when you renewed 2 yrs ago, you signed a contract in which you had 30 days to return the phone in exchange for a "new" one. After this 30 day period, you "agreed" to refurbished replacements by signing the original contract and activating your original phone, thus agreeing to the ToS. YOU were not willing to adhere to the contract and ToS which you had previously agreed to, but you now want Verizon to follow those terms that you have already backed out on?

  • How to get the service from my old iphone onto the new one

    I've transfered everything from the old iphone to the new one but the service didn't transfer. I would like to be able to call and text.

    Carrier is the only one that can transfer services. If the phone takes a sim card you would need to swap it out unless its the new iphone 5 it takes a micro sim or if its a 3gs to a 4 they also have different size sim cards.

  • Anyone else getting diabolical service from BT wit...

    I have ordered BT Infinity 2 four times via the website now over the last six weeks.... Each time getting a BTVOLxxxxxx order reference. After the initial email confirmation NONE of them ever show up again. At all. 
    I have twice attempted to order BT Inifinity 2 over the phone, both times I was told 'there's a problem - our special people who do orders need to talk to you. They will call you in five working days"
    I have complained via the on-line complaints panels - got reference numbers and eveyrthing... Absolutely heard nothing back at all.... 
    I have phoned to chase the order(s), been put on hold, been disconnected, been transferred more times than a spanish striker, but never actually got through to anyone that can actually do anything.
    Has anyone else had this? Is it part of some special ritual that all seasoned Infinity customers have already gone through and I've just not seen the light yet?
    Jono

    Your not on your own! I've been trying to order a new line, phone and infinity for our new build home for the last 3 weeks. I must have spoke to at least 15 different people, only to be told the same scripted lines! the problem is as its a new build they have no record of our address and postcode on there database and we have FTTP installed and no copper phone line at all, which seems to blow the sales peoples minds, all I keep getting told is I have to order a standard phone line before they can give me a speed estimate! which would be impossible where we live!
    Whether there's a special fibre team I need to speak to or not I have no idea! but I cant find a number if there is!
    I've finally give up now and will probably end up ordering the wireless option that's available in our area!
    What a nightmare....

  • No phone service from April 2 to April 14?

    Could someone from Verizon please email me?  I have emailed a message along with my repair requests and am getting the standard reply back.  I reported no service a few weeks ago, the tech laid a temporary line (at least I think it was supposed to be temporary) on the ground for a fast repair (?)  The line was broken on the evening of April 2 when there was a fire at a nearby house.  The firetrucks ran over the line I think and destroyed it.   I have had no phone service since that evening and was out of town all last week for medical reason and could not receive my messages.   I need my phone for medical reasons right now and have no service!! I can not make or receive calls and have not been able to since April 2 and for more than a week in March.  Twice I reported Verizon to the FCC last year.  I recieved a letter from {edited for privacy} of the Verizon Executive Relations Team in September of 2014, informing me that my complaint had been closed out.   It was not and I wrote {edited for privacy} and the FCC a letter saying so.  I have heard nothing back from Verizon on this matter and am extremely dissatsfied with Verizon.  I live in a rural area and am wondering if it is not economicably favorable for Verizon to take care of their customers here?  My neighbors and I certainly do not get realiable service from Verizon, yet we pay our bill!!  

    Hi countrygal,
    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you. Please go to your profile page for the forum and look at the top of the middle column where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under "My Support Cases" you will find a link to the private board where you and the agent may exchange information. The title of your post is the link. This should be checked on a frequent basis, as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe". Please keep all correspondence regarding your issue in the private support portal.

  • On receiving service from MacBook bought in a different country

    I bought my MacBook in Korea, but I brought it to Switzerland to use it in my new school. Can I get customer service from the swiss? I still have my 1 year guarantee...

    If you mean warranty service, yes, you can. The warranty on the MacBook is international.

  • Getting WCMException while configuring a repository service

    Hi KM Experts,
    I wrote a program to create a repository service, to start the approval process automatically, and select it for the required repository manager. I restarted the servlet engine, but still the status of newly added document is 'In Progress' and when I tried to submit it manually its throwing the following exception -
    Could not execute command 'com.sapportals.wcm.rendering.uicommand.cm.UIStatemanagementCommand'
    Below is the program written by me -
    package com.infy.autoapprove;
    import com.sapportals.wcm.repository.IResource;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.repository.service.AbstractRepositoryService;
    import com.sapportals.wcm.repository.service.IRepositoryServiceFactory;
    import com.sapportals.wcm.repository.service.ServiceNotAvailableException;
    import com.sapportals.wcm.repository.service.statemanagement.IResourceTransition;
    import com.sapportals.wcm.repository.service.statemanagement.IStatemanagementManager;
    import com.sapportals.wcm.repository.service.statemanagement.IStatemanagementResource;
    import com.sapportals.wcm.repository.manager.IResourceEventReceiver;
    import com.sapportals.wcm.repository.manager.IRepositoryManager;
    import com.sapportals.wcm.repository.manager.ResourceEvent;
    import com.sapportals.wcm.util.events.IEvent;
    import com.sapportals.wcm.crt.component.*;
    import com.sapportals.wcm.crt.configuration.*;
    import com.sapportals.wcm.IWcmConst;
    import com.sapportals.wcm.WcmException;
    import java.util.Collection;
    // implements IMyNewRepositoryService interface
      Note: IReconfigurable and IResourceEventReceiver interfaces are optional
    public class AutoApprove extends AbstractRepositoryService implements IReconfigurable, IResourceEventReceiver {
      private static final String TYPE = "AutoApprove";
      public AutoApprove() {
        super();
        // Do not add code here. Add it to startUpImpl() instead
      public String getServiceType() {
        return AutoApprove.TYPE;
      protected void startUpImpl(Collection repositoryManagers) throws ConfigurationException, StartupException {
        // implement this method as follows:
        // - Verify configuration data
        // - Get references to other needed (global) services
        // - Check whether other repository services (this service depends on) are also assigned to the repository managers
        // - Usually the service registers itself for certain events at all repository managers
        try  {
        catch (Exception e) {
          throw new StartupException(e.getMessage(), e);
      protected void shutDownImpl() { }
      protected void addRepositoryAssignment(IRepositoryManager mgr) throws ServiceNotAvailableException {
        // Implement this method: Usually the service registers itself for certain events at the repository manager.
         try
               mgr.getEventBroker().register(this, new ResourceEvent(ResourceEvent.CREATE_CHILD, null));
         catch(WcmException e)
      protected void removeRepositoryAssignment(IRepositoryManager mgr) throws WcmException {
        // Implement this method: Usually the service must unregister itself as an event handler.
      public void reconfigure(IConfiguration config) throws ConfigurationException {
        this.stateHandler.preReconfigure();
        // check the new configuration data
        try {
        catch (ConfigurationException ex) {
          this.stateHandler.postReconfigure(ex);
          throw ex;
        this.config = config;
        this.stateHandler.postReconfigure();
      public void received(IEvent event) {
                   IResource resource = (IResource)event.getParameter();
                   try
                      //     get the statemanagement service from the resource
                      String rid = resource.getRID().toString();
                      if(rid.equals("/documents/TestScenario/XML Form Content/"+resource.getName()))
                           IRepositoryServiceFactory factory = ResourceFactory.getInstance().getServiceFactory();
                            IStatemanagementManager statemanagement = (IStatemanagementManager)factory.getRepositoryService(resource, IWcmConst.STATEMANAGEMENT_SERVICE);
                            IStatemanagementResource sResource = statemanagement.getStatemangementResource(resource);
                            IResourceTransition transition = sResource.getTransition("lbl.submit");
                           //  if everything is correct than transition is not null
                           if (transition != null)
                                     transition.execute();
                   }catch(Exception e){
                        e.printStackTrace();
    Kindly help me out as I am not able to figure out the issue.
    Thanks in Advance,
    Saurabh

    Hi Experts,
    Any help on this ?
    Regards,
    Saurabh

  • Could you please tell me why as a Brit resident in Japan therefore having a billing address that is Japanese is forced to only get service from the Japanese online store? Is there not some way of allowing me to select movies and music to buy and download

    Could you please tell me why as a Brit resident in Japan therefore having a billing address that is Japanese is forced to only get service from the Japanese online store? Is there not some way of allowing me to select movies and music to buy and download from other stores. Why do am i forced to try to nread Japanese when I have selected English as my language. The price for Downloads is no different and even if it was I am happy to pay. This also applies to Movie rental which is crazy and extremely restrictive. I a supposed GLOBAL community why does Apple do this.

    You can buy ONLY from the itunes store of your country of residence (As proven by valid billing address of credit card) and ONLY while inside the borders of that country.
    These are the terms of the itunes store.

  • How to get warranty service claim from nokia c5-03...

    how to get warranty service claim from nokia c5-03 in india because i have problem with nokia c5-03 I Purchase 2 week ago a new nokia c5-03 but from day 1 i facing same problem like 1) app close itself 2) internet browse close if any thing is downloading or downloading over 3) memory full always then i should reboot the phone then it work. 4) ovi map is open it shows memory full close the app So kindly help me how to get warranty service claim from nokia c5-03 in india i am unhappy with nokia c5-03
    Solved!
    Go to Solution.

    i updated software also but the same problem cont... I want to know that nokia will give back money or exchange for other new mobile

  • Getting "Origin is not allowed" When Trying to Invoke RESTful Service from Another Domain

    I am having problems trying to invoke my RESTful web service from a different domain. I'm well aware of the normal restrictions of cross-site / cross-domain scripting but in Oracle documentation it says that all origins are allowed by default when creating a RESTful service without using authentication.
    I have created a very simple service and am trying to invoke it using jQuery.Ajax calls from a different domain and I am getting XMLHttpRequest cannot load http://address_to_my_web_service. Origin http://calling_from_address is not allowed by Access-Control-Allow-Origin.
    I understand that using JSONP instead of JSON is actually the best practice around cross-site scripting but it appears as though APEX does not support JSONP because with JSONP, there are URI parameters added to the base request (callback).
    I am stuck and would greatly appreciate any help.
    I'm starting to wonder if this could be a bug because Oracle documentation says all origins should be allowed when using a service that does not require authentication. I also tried to force the origin to be allowed by typing it in and also using the wildcard '*' and it still did not work.
    Thanks,
    Mark Williamson
    EDIT: It is now working after adding a URI prefix to my web service module.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

Maybe you are looking for