Best way to create a conact list from the user profile properties

We have a customer looking for a phone book utility, starting with a table showing main user information and with some search options. We would like o base it on the user profile properties and not to create an indipendent studion record browser porlet.
What is best way to create a conact list from the user profile properties ?

I did something like this using search.  It can get messy, so you need to take care with it.
* Identify the properties you want to make accessible to search (ex: name, etc.)
        - add them to the user property map
        - flag them as searchable
* I broke down and used the native server API.  I'd still suggest this approach.
* Write some simple code to do vcard export if you like
(my code is all in vb.net)
I really believe this is the "right" approach, but honestly, this was a bit painful and has been
messy for us given some other business issues.  (to my chagrin we have users with 2-letter last
names...)
I have code you're welcome to poke at, but it's more or less slapped together and has various
different search methods commented out so you can see how I tinkered w/ the remote vs. server
API.
If you'd like it mail me at [email protected] and I'll send you a zipped copy w/ a
readme.  I hope it may be useful to you as both a starting reference.

Similar Messages

  • What is the best way to create a database schema from XML

    What is the best way to create a database schema from XML?
    i have  a complex XML file that I want to create a database from and consistently import new XML files of the same schema type. Currently I have started off by mapping the XSD into Excel and using Mysql for Excel to push into MySQL.
    There must be a more .net microsoft solution for this but I cannot locate the topic and tools by searching. What are the best tools and way to manage this?
    Taking my C# further

    Hi Saythj,
    When mentioning "a database schema from XML", do you mean the
    XML Schema Collections? If that is what you mean, when trying to import XML files of the same schema type, you may take the below approach.
    Create an XML Schema Collection basing on your complex XML, you can find
    many generating tools online to do that.
    Create a Table with the above created schema typed XML column as below.
    CREATE TABLE youTable( Col1 int, Col2 xml (yourXMLSchemaCollection))
    Load your XML files and try to insert the xml content into the table above from C# or some other approaches. The XMLs that can't pass the validation fail inserting into that table.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Is there an easy way of creating a distribution list from an email with multiple addresses? Those addresses are not in your contacts already, and don't need to be.

    I want to be able to take all the email addresses someone else has used to distribute an email and create the same distribution list for myself for future use.  I don't want to add all those people to anywhere in my contacts list.  I just want them to be in my "new distribution list", like "soccer families", etc.  I tried to copy and paste, but didn't get anywhere. Maybe I was close, or maybe it isn't possible.  Thoughts?

    Ed on iPad wrote:
    I don't want them in contacts because they are simply a related group (like my sons current soccer team).  People I may never need to email again after a sports season.  I don't want to have to have these people in my contacts permanently. 
    You don't. When the season is over, delete them.
    But, the text clipping should work.
    The next IOS should have a feature "create mailing list from distribution list".  A fast and simple way to retain a distribution list from an email you received.  People get copied all the time using distribution lists they may want to reuse easily, like school, sports or work groups.  Oh well.
    How is that any different from adding them to Contacts? Here's the feedback page: http://www.apple.com/feedback/
    There is a set of Mail Scripts that has a function to Add Addresses from an email to any group. But, it doesn't work with Mountain Lion.

  • Best Way to Create Array of Values From ArrayCollection

    I often use Arrays of values from ArrayCollections in my
    application in order to facilitate faster performance when
    filtering other Collections.
    For instance, let's say I have an ArrayCollection of Objects
    with the properties "id", "name", "label", and "isActive". What
    would be the best way to get an Array of all the "id" values?
    Right now, I am looping over the ArrayCollection, and adding
    the value of the property I need to an Array using Array.push().
    For larger Collections, this seems like overkill. I was wondering
    if anyone knew of some quicker way to get an Array of values of one
    property from an Array Collection.
    My current method for doing this is attached below...
    Thanks.

    No, that won't work - toArray() simply returns the entire
    Collection as an Array.

  • With supervised ipads, what is the best way to transfer photos and videos from the ipad to the PC? Wireless transfer is not an option in our circumstances

    With supervised ipads, what is the best way to transfer photos and videos to the PC? Wireless transfer is not an option in our circumstances.

    There are only two ways of transfering things on the iPad.
      - via WiFi
      - via usb cable
    From what I have read, you need to connect to iTunes on the supervising PC.
    Robert

  • What is the best way to create a bookmark for a returning user??

    Hello all... hello again Steve...I am back with another question- what is the best way to implement a bookmark system so returning users can pick up where they left off in an AW lesson? I have tried the usual internet searches, always do, but the few samples/answers I have found were AW5, not much help...
    I have a dozen or so maps attached to my framework, I would like a user to return to the last map he viewed before closing. (My AW is communicating fine with an Access database, so if passing a variable to Access and then back to AW when the lesson starts is on the right track, let me know...) If the answer here is too complicated, maybe nudge me in the right direction and I will dive back in.
    Thanks in advance to anyone who has some guidance, I really do appreciate it!
    Terry

    Try this outline, see if it helps ...
    Grab a reference to the Map as you enter it, then save that to the database when you leave.
    You want something that will give you the equivalent to a page number - if you have 7 maps hanging off the Framework, and the user is in the 6th map when he exits, you want to save the number 6.
    There are scores of ways to do this, but probably the easiest is just to attach a calc to each map that has this code
    (I don't have Authorwar handy to check syntax, so you should check!)
    BookMarkPage = ChildIDtoNum(IconParent(IconID), IconID) <-- tells Authorware to return the "page number" of the current map
    Save BookMarkPage to your Access database on exit .
    On return, read the bookmark back into BookMarkPage, ask the user if he wants to return to bookmark. If yes, use a calculated navigation that uses
    ChildNumToID(@the name of your Framework or it's ID, BookMarkPage)
    Note that you could wrangle something similar by saving the IconID of your Map, or the IconTitle, but both of these can break if you ever update your file by adding or removing pages, renaming them etc. With this method, all you need is a simple page count check that ensures that you are not trying to nav to a page number that does not exist (use IconNumChildren).
    Steve

  • Any way to return to the calling page from the User Profile Editor page?

    I built a url to the User Profile Editor page, and upon playing around with some of the parameters in the url itself, I have the Editor page returning to My Page (home page) for the logged in user. I would like to get it to return to the calling page, which is not necessarily a My Page. It might be a Community page. I'm not quite sure what the Editor Type value is and if it is even relevant. (it is hard-coded right now, and I've tried changing it to several values). Here is the url string:
    http://awg1/portal/server.pt?open=space&name=UserProfileEditor&psname=OpenerPageID=253&cached=false&in_hi_userid=257&control=EditorStart&editorType=10. It would be really nice to be able to open the editor with a tag!

    You can use a table
    This was answered in the Numbers forum by someone else so cant take any credit.
    Put "1" in first cell
    put 2 in cell below
    Select both cells and hover mouse over botton right hand corner ( you should get a cross) click and drag down and sequential numbers will fill into the blank cells - and over the page if you wish.
    Is that what you are after?
    Or you can always use a numbered list but that would be by paragraph not line.
    Message was edited by: John H

  • Best way to create a Windows service from a LabVIEW executable​?

    What would be the best way to run a LabVIEW executable as a service? I needed this recently and I think I have set up such a service using srvany.exe from the Windows 2003 Resource Kit, but that seems like a bit of a hack. The Kit is not offically supported in Server 2008, but seems to work. I don't know about Server 2012 or beyond.
    So what would be the "proper" way of going about creating a Windows service from a headless LabVIEW application?

    The proper way is to interface to the according Windows service control API. That is however not a trivial task to do. We used to sell a LabVIEW toolkit which supported a full interface to this, but it's not currently actively marketed.
    srvany.exe is sort of a hack but works reasonably well for most use cases, as long as you do not need any further interaction with the service manager interface in Windows than to start and stop your service.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Best way to create nice, wide vocals from a 2 part harmony?

    I know there's no "best" way. But I have a chorus line I've written with a two part harmony. I want it to sound wide and full. What's a good approach to take right now. How many passes of each vocal line should I record? What approach should I take with panning all the parts? And, how might I possibly the whole vocal mix fill a wide frequency range?
    I've tried a LOT of things but I feel like I'm wandering in the dark because I'm quite novice when it comes to mixing vocals (besides having 2 part vocals where both takes are basically EQd the same but jut panned differently). It's time I break outside of the box!
    Any help is appreciated. Thanks!
    Message was edited by: eMagnus

    This is where you get to choose, as mix engineer/producer. No matter how many tracks we put down, comp, mult etc, there comes a time to make decisions.
    What is more important, more prominent, aids the song in it's entirety. Basically, you're talking about overlapping frequencies. So where the vocals and the synths are together in your chorus you are getting a lot of frequencies in one range.... lets say the lower mids (always a tricky area) 200 - 300Hz.
    You have two basic tools instantly to hand. Volume and frequency. I am simplifying. You can get your levels in the right ballpark (of course you can fine tune with volume automation) and you can tailor with EQ. If there is too much 250hz in the chorus, you need to cut something. One thing makes room for another thing. What this thing is, is entirely up to you. There are no rules for this. If all your sources in the chorus cover the whole frequency spectrum and the whole stereo field you are going to have to decide.
    In one song I mixed recently, the lead vocal was doubled. The intro was sung over a fairly clean picked guitar. I had the two vocals panned just narrow of 9 and 3 o clock. When the verse burst in there are 14 distorted guitars filling the stereo spectrum from hard panned left and right to about 10 and 2 o clock positions. I automated the vocal to become much narrower, 5 points either side of centre for this part of the song. It doesn't sound odd on playback or as drastic as you may think. What it does is make room for these massive guitars and it worked well on this particular song. What it also did was make room for the odd backing vocal that sporadically appear in the song.
    So in this case it was making room on the stereo spread that helped the mix and no eq was changed. That was my decision.
    So basically, if there's too much of everything you need to turn something down or move it out of the way. This can be in frequency, volume or stereo field.

  • Best way to create a popup spreadsheet from a button or hyperlink? Perhaps even without macros?

    So the spreadsheet would be contained within the popup above the initial workbook worksheet and could be
    closed/dismissed.
    What are the best options?

    Hi,
    If I understanding correctly, you want to click the button or hyperlink and then a new worksheet popup from the initial workbook, right? If it is, there is no Excel feature like this, we may need to add a command button and use a macro.
    Sample code:
    Dim WS as Worksheet
    Set WS = Sheets.Add
    If I misunderstand, please let me know.
    Regards,
    George Zhao
    TechNet Community Support

  • What is the best way to handle executing multiple packages from the Agent?

    I have several packages that have to be executed in sequence. I thought the best way to do that was by creating a job for each package then have a master job that executes the other packages. In my master job,  I'm using sp_start_job to call the other
    jobs. The problem is, the master job moves from step to step without waiting for the child jobs to finish; basically they all execute together.
    That is the way I've seen it done in other places so I feel like I'm doing something wrong. In the alternative, I know it's possible to set the individual steps up so they execute the packages directly without calling an external job. I prefer the first
    way though.
    Which way should I jump on this?

    So basically what I'm hearing is just call the packages in a mulit step job. Creating a master package and calling child packages sounds a little crazy and unscaleable especially considering that the packages have master child relationships
    within themselves. It's SSIS Package Inception. 
    Sorry whats the issue with that?
    Provided you're setting the package sequence correctly based on your dependency it will work fine as loop gets iterated based on how you set the package list.
    What we have is a audit and control mechanism which even have details on the dependency so based dependency set only the packages gets ordered and listed for the loop to iterate through and executing. Also tomorrow if a new package comes into being, all
    it takes for us is to tweak the audit table to add a new entry for the package and set the dependency and it will continue to work fine including the new package without touching the existing job for any modification whatsoever.
    Another advantage of this table is we also capture audit details in it like date when package got last executed, its status of execution,rows processed (insert,modified, deleted) etc which can be used for easy monitoring of the data processing tasks as well.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • I just bought a new Macbook. What's the best way to transfer all my info from the old one?

    Hey everyone! I just got my new retina display Macbook Pro, and I'm trying to figure out the best way to transfer all my music/photos/files/data/etc. from my old Mackbook Pro. I have a 1TB external drive and an 8GB flash drive that I can use if I need to. Any sugestions? Thanks!

    What i did with mine, I cloned the drive of my old macbook to my external drive using carbon copy cloner.
    Once i was done with the clone - i used migration assistant to transfer my apps/data/pictures/files over my new macbook....
    when using migration assistant - do not transfer your old settngs and if you're doing an app transfer, only transfer the ones you need and that you know will work with your Retina...
    good luck..

  • What is the best way to import and export footage from the 5D Mark II?

    Hello,
    I've just finished shooting what I am considering to be my directorial masterpiece.  Shot it on the Canon 5D (1080p, 24fps), and the footage looks amazing.  Now I am ready to start editing and have been using premiere lately, but I have yet to figure out the proper pipeline.  I want to know the best way to retain resolution before I delve into this project.
    My questions:
    1)  What is the best way to start a new project and import the footage without having to render whilst editing, so as to retain all resolution and originality of the source footage?
    2)  What is the best way/ codec/ format to export this same footage once editing is complete so as to retain that crisp 1080p for which the 5D is so recognized?
    3)  What is the best way/ codec/ format to import and export/ render between premiere and after effects?  I am speaking mostly of vfx and color correction.  I also have some 30fps footage that I intend to slow down in AE and then import into premiere.
    I know this is pretty broad, but as a solo filmmaker I really need someone's guidance.  I rarely ever finish my films with the same, crisp look as the footage.  I need pipeline help, and really appreciate it!

    ascreenwriter wrote:
    Hello,
    I've just finished shooting what I am considering to be my directorial masterpiece.  Shot it on the Canon 5D (1080p, 24fps), and the footage looks amazing.  Now I am ready to start editing and have been using premiere lately, but I have yet to figure out the proper pipeline.  I want to know the best way to retain resolution before I delve into this project.
    My questions:
    1)  What is the best way to start a new project and import the footage without having to render whilst editing, so as to retain all resolution and originality of the source footage?
    2)  What is the best way/ codec/ format to export this same footage once editing is complete so as to retain that crisp 1080p for which the 5D is so recognized?
    3)  What is the best way/ codec/ format to import and export/ render between premiere and after effects?  I am speaking mostly of vfx and color correction.  I also have some 30fps footage that I intend to slow down in AE and then import into premiere.
    I know this is pretty broad, but as a solo filmmaker I really need someone's guidance.  I rarely ever finish my films with the same, crisp look as the footage.  I need pipeline help, and really appreciate it!
    1. Follow the advice above. Also use the Media Browser to import the footage in case you have spanned media files. Import files with the Media Browser.
    2. It largely depends on what you wish to ouput to: Blu-ray, web, etc. This FAQ gives the best answer: What are the best export settings?
    3. Use the Replace with Adobe After Effects Composition function.

  • Best way to manage an "Esc" pressed by the user

    Hi friends
    I normally create dialogs to offer options to the user before executing the script functions. So, having a "Cancel" button in this dialog would suit the need for an user to cancel the operation.
    But let´s say the user selected the options in the dialog and pressed button OK to start the execution of the process. The dialog will close and process will start. Suppose it will take 1 minute to complete.
    If, inside this 1 minute, the user presses "Esc" key in keyboard, then the execution will stop, but it will display an alert (like an an error) it was not possible to finish the process (sure, he cancelled the operation).
    What I want to understand: Is it possible to manage this "cancellation" of the user via the ESC and do not display alerts? For example, write a function that tells...If user presses "ESC", then abort the process and display no dialog.
    Would an event listener that reads the keydown "ESC" would be suitable for this task? or is there any simpler or suitable way to do it?
    Thank you very much for the tips.
    Gustavo.

    I don't think it is possible with javascript. I don't know about other languages.
    Because the esc key also can be used to close a dialog, while the dialog is open you can write an onClose event handler to try to add clean up code. It should work if the user only presses the esc key once. But if they press more than once or hold down the esc key the script will stop before the handler is done. In other words the first press closes the dialog( running the onClose event ) and the second press stops the script. Even a keyboard event handler inside the dialog of the esc key can't keep repeated presses from stopping the script. At least I have not found a way and I spent a good bit of time trying.
    Once the dialog is closed or if the script doesn't use a dialog the first esc key press stops the script. There isn't an event for esc that can be used by the scripts event manager or app.notifiers. But even if there were I think it would have the same behavior as the dialog onClose.
    I can understand why esc stops the script regardless of what the script wants to do. After all the esc key is the user's 'panic button' when they think something is wrong. I am not sure having a way to ingore a user's request to 'stop now' is a good thing.

  • Is there an easy way to create an excel list from my contacts?

    I am doing a web-marketing and I want to use my contacts in my contact list. Is there an easy way to download my contacts into an excel list format?

    Using Automator, you can export some of the infoemation to a tab delimited file which Excel can open.
    Re: Drag and drop from Contacts into Numbers not working - any solutions?
    https://discussions.apple.com/message/22309780#22309780#22309780
    You can drag a selection of contacts into Numbers and it will grab a little of the Info, putting it in columns.

Maybe you are looking for

  • If I make minor keyword updates in Bridge, how do I update an existing catalog to catch the changes?

    Is there a way to update the LR3 keyword hierarchies in existing LR catalogs for minor changes done in Bridge? I have started to use LR for the first time.  I have about 50K photos that are key worded from within Bridge in maybe a hundred sub dirs. 

  • Get the max count of the column list item

    Hi, I have a list with the 'TO' column of type people. My task is to get persons name who is featured the max number of time in the 'TO' column. What is the best possible solution OOB. I dont want to go with custom solution. Thanks, Ankit

  • DateFormat is not sensitive to Windows locale setting

    Hi all, The DateFormat is not sensitive to Windows locale setting, that's why this piece doesn't work correclty. This bugs is already know (#4514389) SimpleDateFormat dateFormat; dateFormat=((SimpleDateFormat)DateFormat.getDateInstance(DateFormat.SHO

  • No background grid view .

    Hi.. i am new here and sorry for my english. does anyone know why no background grid view on my stack? it happen since i upgrade to 10.5.1 til now 10.5.6 here is a picture: http://i385.photobucket.com/albums/oo292/ovandalish/Snapshot2009-02-1507-01-4

  • Losing Prints on Shared Printer

    I posted this on a different discussion and was advised to post here. Here is a link to that post: http://discussions.apple.com/message.jspa?messageID=3834099#3834099 I have searched and searched these discussions to no avail for a fix to my problem.