Trouble creating code to lock a device

Hello everyone,
I am trying to follow the instructions for generating code from captured events from server.
ref: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0138e96-8606-3110-86bd-ca88a91f110f?QuickLink=index&…
From the log I have distilled the webservice calls being made minus my client id and other detailed information, repetitive to and from, etc.
Devices.GetInfo()
Devices.UpdateConnectionInfo()
-> only for lock
Outbound.InitContext()
Outbound.GetContextInfo()
->
Outbound.SendCommandNotification()
Outbound.GetSendStatus() a bunch of them
StoredQueries.GetFirstStoredQueryFiltered()
Devices.GetDeviceInfo()
I am to the point where I am trying to SendCommandNotification, but I don't understand how to create the second parameter clients which is defined to be
OutboundService.ClientSpecifier[] clients.
I am working in VS2012 and have an MVC4 project.
I don't know how to integrate information from the device to specify this clients array. Any help would be greatly appreciated. I have not been able to find any programming references and would also appreciate any help finding them.
Thanks,
Bart

I figured it out by working my way backwards,
I created an array of the type ClientSpecifier, then created an element to fill the array ClientSpecifier.
Then I set the properties of Value as the guid of the device and IdType of ClientGuid. Then set the value of the ClientSpecifier to the one element in the array and passed that array as the parameter.
I guess the code is all totally self documenting .

Similar Messages

  • ADE 2 and now 3 won't take .acsm file.  Code E auth bad device key

    Did reauthorization per threads on this site. get msg code E auth bad device key. used to work fine for past year. Installed V3. Same result.  What gives???
    This seems like a pretty big failure for Adobe. There ought to be a post  from Adobe explaining exactly what to do without going thru all this trouble. 

    I'm going to take a guess here, based on the process you said you went
    through.  Here's hoping it's helpful.
    I suspect that the copy of ADE you downloaded is not going to let you
    register it with Adobe.  This happens sometimes when the various
    ebooksellers try to give you a link to a download address, and the software
    you download isn't 'legit' for one reason or another.  Ebooksellers and
    others who want to put a link out there should be going to Adobe to get the
    right link.  Some don't.
    Next up, Digital Editions works only on Windows and Macs.  It does not work
    - or load - on Android devices such as a smartphone.  I've seen a couple of
    postings to the forum that say they have a file on their smartdevice that
    looks like Digital Editions - sometimes complete with the DE logo.  They're
    bogus in the sense that they are not code from Adobe.
    My suggestion is go use your computer's utilities to copy the ebook you
    downloaded to a safe place, and then deinstall the copy of Digital Editions
    you loaded.  Then, go to the Adobe website, create an Adobe ID that's
    separate from the one you've used already, and download a fresh copy of the
    software.  BTW: ADE creates a small ID file for each ebook it downloads and
    appends it to the ebook.  To make things easy, make up an Adobe ID instead
    of using your email address.  That way, if you change email addresses,
    you'll still be able to get to your ebooks.
    When you deinstall ADE, there may be some scraps hanging around.  Use your
    computer's utilities to delete the Digital Editions folder and all of its
    entries.  Look to see that your registry files have been purged as well: if
    you're a Windows user, you can use the Add/Delete Programs utility in the
    Control Panel to do this.
    Good luck - and report back
    ==========

  • Trouble Creating Share Point via 'sharing' Command

    I'm having trouble creating a share point via the command line using the 'sharing' utility. Basically just trying to script the creation of a /WindowsShares/ share via SMB.
    Here is the command:
    <pre class=command>sharing -a /WindowsShares/ -n WindowsShares -s 001 -g 000 -i 00 -o 0 -t 1'</pre>
    It seems like everything works. <pre class=command>sharing -l</pre> shows this:
    <pre class=command>name: WindowsShares
    path: /WindowsShares/
    afp: {
    name: WindowsShares
    shared: 0
    guest access: 0
    inherit perms: 0
    ftp: {
    name: WindowsShares
    shared: 0
    guest access: 0
    smb: {
    name: WindowsShares
    shared: 1
    guest access: 0
    inherit perms: 0
    oplocks: 0
    strict locking: 1
    directory mask: 493
    create mask: 420
    }</pre>
    However, it doesn't seem to write anything to the /etc/smb.conf file... So nothing works.
    If I enter the following in smb.conf the share does work:
    <pre class=command>[WindowsShares]
    oplocks = 0
    map archive = no
    vfs objects = darwin_acls
    path = /WindowsShares
    read only = no
    strict locking = 1
    inherit permissions = 0
    comment = macosx
    create mask = 0644
    guest ok = 0
    directory mask = 0755</pre>
    However, even after entering this information - when I check 'Share Points' within WGM the share IS listed - but the 'Share this item and its contents' is NOT checked and thus, is confusing and can't be modified from WGM.
    Am I missing something when I am creating this share via the CLI?
    I assumed using 'sharing' worked the same way as using WGM and checking 'Share this item and its contents' - that works perfectly.
    I tried this with 10.4.8 and 10.4.9 Server (Universal).
    Any help would be appreciated!

    Hi Gary,
    Thanks for the reply...
    I ran the 'serveradmin' command to discover the SMB settings before and after the change via WGM. I restarted the SMB service as well...
    <pre class=command>S999EDC1:~ root# serveradmin settings smb:\*
    smb:encrypt passwords = yes
    smb:log level = 2
    smb:display charset = "UTF-8-MAC"
    smb:security = "ads"
    smb:deadtime = 5
    smb:hide dot files = "yes"
    smb:guest account = "unknown"
    smb:client ntlmv2 auth = "yes"
    smb:preferred master = no
    smb:defer sharing violations = "no"
    smb:adminCommands:homes = yes
    smb:adminCommands:serverRole = "domainmember"
    smb:adminCommands:ldapRole = "1.1 - hosting a master LDAP directory server\n"
    smb:allow trusted domains = yes
    smb:netbios name = "S999EDC1"
    smb:lanman auth = "YES"
    smb:vfs objects = "darwin_acls"
    smb:wins support = no
    smb:brlm = "yes"
    smb:max smbd processes = 0
    smb:server string = "S999EDC1 OS X Server"
    smb:os level = 8
    smb:domain logons = no
    smb:passdb backend = "opendirectorysam guest"
    smb:dos charset = "CP437"
    smb:realm = "EDU.CBE.AB.CA"
    smb:unix charset = "UTF-8-MAC"
    smb:auth methods = "guest opendirectory"
    smb:local master = no
    smb:domain master = no
    smb:map to guest = "Never"
    smb:use spnego = yes
    smb:printer admin = "@admin, @staff"
    smb:ntlm auth = "YES"
    smb:workgroup = "CBEEDU"</pre>
    The only difference was that smb:workgroup = "CBEEDU" and smb:log level = 2 were reversed. The settings were the same though. Thought that was odd.
    When making the change via 'sharing', there is no change.
    Is there any other documentation on 'sharing' other than the man page and CLI Guide from Apple? I haven't been able to find anything concrete.

  • What is the T-code to lock the VA01

    What is the T-code to lock the VA01

    Hi,
    For any std. SAP T-codes, while implementation or support - normally t-codes
    are alloted for the end users based upon the authorizations and roles..wherein
    authorizations like create/change/display would be alloted depended upon the user
    roles..when comibined all those corresponding authorization basis persons would
    generate the User Role which would be again consider for generating the user profiles..so, this way, any SAP Std. or User Defined T-codes would be controlled.
    Hope this helps..
    assign points if useful..
    Cheers,
    Pattan.

  • PUK Code is locked (Random)

    My phone was working this morning and the PUK code randomly locked, I all of a sudden have no retries to modify and when I go to disable the Sim Card Lock option it does nothing.
    Phone: HTC Thunderbolt
    I would contact support directly but I don't know the account password/SSN, I'm on a family plan and I'm not the account holder. My dad is out for a few days and my phone does not work...
    Any ideas on what I can do to get it working???

    Hey running into the same **** issues with my droind thunderbolt.
    See the following,
    http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=47377
    it shows you how to get your puk code and standard pin code. I didn't get the error yet again to try and enter it but hopefully it will fix it.
    << Content removed to comply with Verizon Wireless Terms of Service  >>
    Message was edited by: Verizon Moderator

  • How to create OS Requirements and Primary Devices Requirements

    C# code to create OS Requirements and Primary Devices Requirements

    Hi,
    I'm not quite sure about this issue. Could you please provide more details?
    Here are some documents for your reference.
    System Center 2012 R2 Configuration Manager SDK
    http://msdn.microsoft.com/en-us/LIBRARY/hh948960.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I have trouble creating a pdf portfolio from Outlook: the result does not have "From" or "Subject"

    I have trouble creating a pdf portfolio from Outlook: it creates the portfolio, but the result does not have "From" or "Subject" in the index.  Please help!

    Thank you, I am aware of this function.  The fields are present, but blank.  (It seems that the data is not getting exported…)
    Please keep trying to help me!
    -Nancie

  • Facebook like button is not working, I have used the muse widget and created code from facebook. Does anyone know how to get this to work?

    Facebook like button is not working, I have used the muse widget and created code from facebook. Does anyone know how to get this to work?

    Hi connally25,
    Below is a link to a video tutorial on how to add a Facebook Log button, please check if you have followed the same steps to add the video.
    http://tv.adobe.com/watch/learn-adobe-muse-cc/adding-a-facebook-like-button/
    If you have followed the steps correctly and the button still does not work; here is a link to a forum thread which might help solving the issue:
    Facebook Follow Widget not working
    Regards
    Sonam

  • Trouble creating pie-chart

    Post Author: ujain82
    CA Forum: WebIntelligence Reporting
    Hello,      I am having trouble creating pie chart. I am calculating different count values from different data providers. Now I need to create a pie chart showing the proportion for each count as I can find the percentage of count.
    My scenario(task):I need count on persons depending on searching on complaint text. So for each search I have a data providers. Like this I am searching for 8 criteria. So I have different data providers for each search. I get person counts from each criteria.
    Now I want to show it in a pie chart. But I could not make it done.Does anyone faced a similar problem? How do I solve my problem?
    Any comments?

    Post Author: Chris Chen
    CA Forum: WebIntelligence Reporting
    Hi ujain82,
    Because you have some data provider,so some metric may have no conjunction,i suggest that you creat variables to reuse them.

  • How can I protect formulae in a newly created spreadsheet without locking the whole sheet ?

    How can I protect formulae from being overwritten on a newly created spreadsheet without locking the whole sheet ?

    Olly,
    I'll be picky here on nomenclature ;-)
    Tables and other Obects can be locked, but Sheets can't be locked.
    If you wish to shield some parts of your content from accidental modification, arrange your layout to put that sensitive content in tables separate from the tables that need to be accessed, and lock the sensitive ones. It's also possible, but rather clunky, to place shields over the sensitive area. A shield can be made by Inserting a Shape and positioning the shape over the sensitive area. With the shape selected, go to the Graphics Inpector and set the Opacity of the shape to zero. You will then be able to see through the shape but will no be able to Click through it to get at the cells below. This method is inconvenient because you have to worry about keeping the shape aligned with the table should the table need to change size or shape.
    Jerry

  • Trouble Creating Forms in Dreamweaver

    Hello,
    I am having trouble creating a form in Dreamweaver for my website.  The form is fairly basic, just some contact/comment input required.
    I created my webpages using Fireworks CS4 and exported them as HTML and Images.  The basic format of my website is to have a rectangular block in the middle of the page, where the form elements are supposed to be entered.  However, it seems that I cannot simply add a textbox or textarea to the middle of my page.  If I try, everything gets shifted around very strangely.
    How can I leave the format of the page intact, but add in the form elements (name, email, comments)?
    You can see the page here: http://www.wafflesnjoe.com/preview/contact.htm
    Thank you

    Thanks Murray, I had a feeling that that's where I'd be headed.
    Is there a more seamless way of transferring webpages from Fireworks to Dreamweaver, such as CSS and Images, that would make it easier for me to work in Dreamweaver?
    Would you recommend building websites in Dreamweaver, and not bother with Fireworks?
    Sorry for all the questions, but I'm a newbie.
    Regards
    Date: Wed, 15 Sep 2010 05:25:31 -0600
    From: [email protected]
    To: [email protected]
    Subject: Trouble Creating Forms in Dreamweaver
    I'm not very familiar with Dreamweaver, so this may be a basic question to ask.
    The trick is to be familiar with HTML, not DW, since HTML underlies everything that DW does, and that you want to do on a web page.
    To add a form to a page without disrupting the layout of the page, you have to a) select a layout design that constitutes good practice, and b) build the layout so that it accommodates the form.  I know that's not a very satisfactory answer.
    First of all, unless you are fairly familiar with HTML, your layout will not be easy to implement because you will need to constrain the form and its elements to fit vertically within that central area.  This is not so easy because you have no way of controlling how large or small I (as a visitor) am displaying my text in my browser.  Thus, that form's content is going to expand or contract vertically causing the boxed area to need to expand or contract accordingly.  This is layout 101 for an experienced developer, but may just push you over the edge if you have no HTML under your belt.  So, I would discourage you from trying to use this design.  Is that possible?
    >

  • Hello Apple Support,  My iPhone 5 has been stolen and I want to lock the device totally.  My Apple ID is ********** Stolen Device Serial Number: DN*******TWD Stolen Device EMEI: ********.

    Hello Apple Support, 
     My iPhone 5 has been stolen and I want to lock the device totally. 
    My Apple ID is **********Stolen Device Serial Number: DN*******TWD
    Stolen Device EMEI: *********.
    <Edited by Host>

    Sorry if my English isn't correct because of I'm Italian.
    You must switch on the lost mode on the app " Find my iPhone ".
    If you can see it on the map of this app, you will know where is your iPhone in that moment.
    REMEMBER: you can see your iPhone on the map of  " Find my iPhone"  only if it is online. Indeed you can't see your iPhone if it's offlined or switched of.

  • Trouble creating a MobileMe Gallery with Aperture

    I'm having trouble creating a MobileMe Gallery from within Aperture. In the past it work flawlessly but now it isn't working at all. This is what happens: I create a gallery from within Aperture by clicking on either "New/MobileMe Album, or "New From Selection/MobileMe Album." The gallery is made and appears in Aperture. However, when I visit the MobileMe site the Gallery doesn't contain any images. When I sync it again the gallery disappears from within Aperture all together.
    Any ideas?

    I resolved my problem by rebuilding the Aperture Library from the Aperture Vault. Apparently, and this makes sense, Aperture can't build a Gallery if the photo version, or photo itself is missing. I think the reason why it appeared visible is because the Preview file was embedded...

  • Error Unable to lock your device in Muvo TxFm 1

    Hi,
    I have a muvo Tx Fm GB. during Firmware update?device
    Isshowing ERROR " Unable to lock your Device "?if any body know that how to remove this error, plz suggess......
    Dev Kumar

    Help please

  • Trouble creating List of Channels in SunOne Portal

    Hi,
    I am trouble creating new channel withlist of all the channels availbale in the portal. If any body can help in this that will be really great.
    Thank you,

    Here is a set of Portal Server's tutorials:
    http://developers.sun.com/prodtech/portalserver/learning/tutorials/index.html
    And Portal Servers forums are available at:
    http://swforums.sun.com/jive/category.jspa?categoryID=2

Maybe you are looking for

  • Error while trying to synchronize audio and MIDI in GarageBand (Not using MIDI!)

    I get this error message if I try to use any other programs while playing back two tracks in GarageBand. It seems to be related to the level of activity in the other programs (namely, Safari)--if it's trying to load a lot of images or I'm scrolling t

  • If I lost my Mac book pro how I will find

    When I use my MacBook Pro that is so slow and I don't know the When I download a video game or more Go to some web slide all browsing so slow

  • MacBook A1181 RAM?

    Let me start off by saying I never really post to these boards or anything.  I have sold hundreds of MacBooks on eBay, repaired most of them myself, and so forth so the obvious answer to my question is probably a bad logic board but I would just like

  • Credit card charged and no credits

    Hi , my credit card keeps getting charged every month and no credits are showing up in my Skype account. This is the second month in a row this has happened ! Can someone please tell me where where I can personally SPEAK to someone and sort this issu

  • Suffix Tree and similar

    Hi, I'm stuck with the app i'm writing and i really need some good ideas. The basic problem is: I generate a list of string, everytime i produce a new string i need to check if it is already present in the list, if not i add it to the list. Each stri