Lots of channels to manage

Hello Everyone,
I have written a VI that will allow me to collect data from 200 different channels across 25 different wireless sensor nodes.
I started a second vi that will access the files that I am writing the data to in order to generate graphs.
What I want this VI to do?
- First, i would like to select the channels that i would like to view on my graph.
- Next, i want to access the files and build a new array with the parameters that i have selected.
(my abilities are good to this point)
- When it comes to putting these parameters to an XY Graph, I'm lost.  I'm not sure how to do it because the number of channels selected will vary each time i want to run a different graph.  I have attached the typical way that i generate a XY Graph just showing four channels and i'm not sure how to build a different sized array for the graph each time i select an additional parameter.
Attachments:
XY Graph.png ‏8 KB

lockesmith,
This code snippet shows how to choose the number of plots you want in your XY graph. Maybe this will get you going in the right direction.
Ben Sisney
FlexRIO V&V Engineer
National Instruments

Similar Messages

  • Cisco fibre channel domain manager "fast start" feature

    Hi there:
    I'm trying to understand the
    cisco fibre channel domain manager "fast start" feature
    but I can't
    Manual say:
    About Domain Manager Fast Restart
    As of Cisco MDS SAN-OS Release 3.0(2), when a principal link fails, the domain manager must select a new principal link. By default, the domain manager starts a build fabric (BF) phase, followed by a principal switch selection phase. Both of these phases involve all the switches in the VSAN and together take at least 15 seconds to complete. To reduce the time required for the domain manager to select a new principal link, you can enable the domain manager fast restart feature.
    When fast restart is enabled and a backup link is available, the domain manager needs only a few milliseconds to select a new principal link to replace the one that failed. Also, the reconfiguration required to select the new principal link only affects the two switches that are directly attached to the failed link, not the entire VSAN. When a backup link is not available, the domain manager reverts to the default behavior and starts a BF phase, followed by a principal switch selection phase. The fast restart feature can be used in any interoperability mode.
    Questions:
    Those links are not a Port channel, aren't they?
    If those links would form a port channel then it is not need the fast restart feature?
    In case of there are not a backup link, should be another fabric path and host should conmute because multipath?
    Then, there are very specific scenarios where Fast Restart feature apply, aren't they?
    Thank you in advance for your comments
    Al

    Please post "debug ccsip messages".
    Based on your debug you are getting "Cause No. 38 - network out of order."
    You may want to bind SIP to an interface that the IP address is defined which Lync points to.
    Chris

  • LORD Scenario in Web Channel Experience Management

    Hi All,
    Is LORD Scenario available in Web Channel Experience Management? Any inputs would be helpful.
    Sateesh Chandra.

    Hello,
    Yes this scenario is available in the Web Channel
    Please have a look at this overview.
    /people/deborah.corsi/blog/2009/02/17/sap-crm-70-web-channel--understanding-the-lord-basket
    LORD API docs and startup
    Mark

  • E-Recruting 3.0_Posting Channels & Organisational Management Integration

    Hi
    I would like assistance with regards to the following questions:
    1. Posting Channels
    On table V_T77RCF_POSTCHN, I would like to maintain a posting channel for both internal and external candidates.  I used a publisher class: CL_HRRCF_PUBLISHER_INT_EXT. However, I get an internal error.
    2.  OM Integration
    In E-Recruiting, all the position details, i.e. org unit and job is extracted from OM. However, the vacancy date is not pulled through. On the OM integration table, the extractor class field is blank. What is the extractor class i'm supposed to use?
    Thanx.

    Hi,
    regarding your questions:
    Question 1- Based on above SAP Master Guide quote, My question is Do I need Solution manager on the same system as Risk Management or can I provide the SAP RM 3.0, the same Solution Manager system, which has been given to entire landscape i.e. ECC, BI, XI etc)
    Solution Manager does not need to be on the same box - just use the "shared" one like for other SAP Solutions (the one you used for ECC, BI...)
    Question 2- If I provide lots of memory and do a good sizing, then can I share the same AS JAVA for GRC AC 5.3 & GRC RM 3.0.)
    Yes, provided you're using AC 5.3 SP10 since only after that SP AC runs on NetWeaver 7.01
    Also can I share the same AS ABAP for SAP GRC PC 3.0 and SAP RM 3.0?
    Technically you'll have to since the GRCFND_A ABAP add-on contains both PC & RM!
    Also, running/setting up PC & RM in one (ABAP) client facilitates the PC-RM integration!
    Question 3- Can I use the same Business Objects Enterprise XI 3.1 for SAP PC 3.0 and SAP RM 3.0?
    Yes, PC & RM will create separate folders on the BOE XI servers containing their respective Crystal Reports.
    Question 4- Can I have the SAP GRC RM 3.0 backend the SAP GRC RM 3.0frontend system on the same system, containing SAP GRC 5.3 & SAP GRC PC 3.0 and then carry out the customizing implementation Guide procedure on Solution Manager on the same server (the same Solution manager which is the one, which has been shared for the entire landscape containing ECC, BI, XI etc.)?
    Don't know why Solution Manager is mentioned again here in the guide - you'll perform the customizing on the AS ABAP where you installed the PC/RM ABAP add-on.
    Cheers,
    Dominic

  • Firefox does not start when I click, but consume a lot of resourcein task manager

    Hello,
    Since a few days, when I click Firefox, it does not start anymore (browser Windows does not appear anymore).
    Also, I noticed that after I click, my computer makes a lot of noise et becomes slow & gets almost blocked: I can see that in the task manager/processes, firefox is there and consume a lot of memory ressources.
    Can you help ?
    Thanks

    Hello,
    Thanks for you reply. What you propose me is to create a new profile and transfer the files from the old profiles to the new.
    I am not interested by this option as I want to keep my current profile as I am using programs working on this profile and also have Firefox working on this profile.
    But I have a new information which might help. I did not see it during my last tentative but after a few minutes after Mozilla launch, there was like a bug report which were generated.
    I copy paste below. Hope that it can help :
    dd-ons: 2020Player_IKEA%402020Technologies.com:5.0.7.0,OrangeVideo%40orange.fr:1.2.1.12788,%7972ce4c6-7e08-4474-a285-3208198ce6fd%7D:29.0,%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D:2.5.1,jid1-FCM5fDwCWM3AQ%40jetpack:1.8
    AvailablePageFile: 240164044
    AvailablePhysicalMemory: 207122432
    AvailableVirtualMemory: 432594944
    BIOS_Manufacturer: Phoenix Technologies LTD
    BlockedDllList:
    BreakpadReserveAddress: 44236800
    BreakpadReserveSize: 37748736
    BuildID: 2014042122123
    CrashTime: 1399127287
    EMCheckCompatibility: true
    Email:
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1398928357
    Notes: AdapterVendorID: 0x8086, AdapterDeviceID: 0x2a42, AdapterSubsysID: 02191025, AdapterDriverVersion: 8.15.10.2202
    D2D? D2D+ DWrite? DWrite+ D3D10 Layers? D3D10 Layers+
    ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e84}
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 1130148
    StartupTime: 1399126032
    SystemMemoryUsePercentage: 95
    Theme: classic/1.0
    Throttleable: 1
    TotalVirtualMemory: 4294836224
    URL:
    Vendor: Mozilla
    Version: 29.0
    Winsock_LSP: AVSDA over [MSAFD Tcpip [TCP/IP]] : 2 : 1 :
    AVSDA over [MSAFD Tcpip [UDP/IP]] : 2 : 2 : C:\Program Files (x86)\Avira\AntiVir Desktop\avsda.dll
    AVSDA over [MSAFD Tcpip [TCP/IPv6]] : 2 : 1 :
    AVSDA over [MSAFD Tcpip [UDP/IPv6]] : 2 : 2 : C:\Program Files (x86)\Avira\AntiVir Desktop\avsda.dll
    AVSDA over [Fournisseur de services RSVP TCPv6] : 2 : 1 :
    AVSDA over [Fournisseur de services RSVP TCP] : 2 : 1 : C:\Program Files (x86)\Avira\AntiVir Desktop\avsda.dll
    AVSDA over [Fournisseur de services RSVP UDPv6] : 2 : 2 :
    AVSDA over [Fournisseur de services RSVP UDP] : 2 : 2 : C:\Program Files (x86)\Avira\AntiVir Desktop\avsda.dll
    MSAFD Tcpip [TCP/IP] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [UDP/IP] : 2 : 2 :
    MSAFD Tcpip [RAW/IP] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [TCP/IPv6] : 2 : 1 :
    MSAFD Tcpip [UDP/IPv6] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IPv6] : 2 : 3 :
    Fournisseur de services RSVP TCPv6 : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    Fournisseur de services RSVP TCP : 2 : 1 :
    Fournisseur de services RSVP UDPv6 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    Fournisseur de services RSVP UDP : 2 : 2 :
    AVSDA : 2 : 0 :
    useragent_locale: fr

  • My Firefox continues to stall a lot and Window Task Manager shows that Firefox is using a lot of memory (600,000k +) What can I do to make this stop stalling?

    I play Farmville or on Pogo and my computer keeps giving me the hour glass and when I look on my Windows Task Manager it shows that I am using over 600,000 k of memory. When it does that I can't do anything unless I just use the power button to shut the computer down or use the task manager to "End Process". I do not like to do either of these so I usually just sit and wait for it to fix itself then later it does it all over again.
    Also when I was doing defrag on the file type tab it showed two Mozilla Firefox so I am wondering if this is the issue but I only see one in the control panel.

    I play Farmville or on Pogo and my computer keeps giving me the hour glass and when I look on my Windows Task Manager it shows that I am using over 600,000 k of memory. When it does that I can't do anything unless I just use the power button to shut the computer down or use the task manager to "End Process". I do not like to do either of these so I usually just sit and wait for it to fix itself then later it does it all over again.
    Also when I was doing defrag on the file type tab it showed two Mozilla Firefox so I am wondering if this is the issue but I only see one in the control panel.

  • Lots of fonts to manage

    I've collected a large number of fonts over the years. I estimate over 30,000 of them. They are in serious need of something better than Finder to deal with.
    Some of them are damaged (Finder/System crashes when I try to view them).
    Many are duplicates.
    Some have their names missing (internally).
    You get the idea.
    I'm looking for an application to help with both fixing them and cataloging them. What do you suggest?
    Gary

    I guess I'm confused as to how the name of the font could be missing internally, unless it was modified (and that's not easy when you don't know what you're looking for in those files). But it is possible that some of your fonts are damaged or corrupted.
    Back in the OS 9 days, there was a program called FontAgent Pro that had the ability to "find, repair and organize all the fonts on your drive." It's obviously not sold anymore, but I do see a copy available on eBay for FontAgent 8 Network Edition of it (although you don't have to use it on a network):
    http://www.ebay.com/itm/120843151553?ssPageName=STRK:MESELX:IT&_trksid=p3984.m15 55.l2649
    There was also Extensis Suitcase 8, which was for activating and manging your fonts in programs; it didn't have any feature to repair fonts. I've heard good things about FontAgent Pro for it's repair abilities, and varying things about it's actual font management abilities. Suitcase was the best-selling font manager back then, so maybe you'd want to get both and use FontAgent to try to repair your fonts, and Suitcase to manage them. I see a listing for Suitcase 8 on eBay, from the same seller as FontAgent:
    http://www.ebay.com/itm/120843377916?ssPageName=STRK:MESELX:IT&_trksid=p3984.m15 55.l2649

  • User Creation in CRM Web Channel - User Management in CRM Web Channel - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Hi,
    Yes, It's Helpful for User Administration.
    Thanks
    Brahma.

  • Multitimbral Instrument Plugins (ie 1 instument many midi channels)

    I am using SampleTank and Kontakt and they way I use them just does not seem right ! The problem starts here..
    - when I add Kontakt to a Instrument Strip the Midi channel is assigned in the strip in the environment window.
    - If I create multiple tracks with the same Instrument and change the midi channel of a track they all change - Doh... not very logical.
    The only work around to this that I have found is to create multiple instrument stips on env window and assign them all to the same instrument (ie instrument 1).... then give each a serperate midi channel - this creates lots of channels with the same audi meters bobbing up and down.
    Sure I can use multiple instances of the same plugin (as with EXS24) but that is not very memory or processor effecient...
    Now I know I can create Aux Channels and route channels to each - but you get in a "too many channels" mess !
    So am I missing something is there an easy & logical way to put an instrument on a channel and route multiple midi tracks to it ?
    Did I explain the problem clearly ? Any help/advice/guidance very welcome !
    Cheers
    Ian

    Hello !
    You have to go in the environment page, instruments, and create a new multi instrument, which you will name Kontakt for instance. Activate all channels by ticking each check box in the instrument icon in the environment page. Then open another environment page where you will choose to see the Audio objects, I.E. the mixer in that case. Drag a cable from you newly created multi instrument to the channel strip containing your Kontakt sampler. You get then a message saying that the ports are in use, do you want to change the assignment, and you answer YES. Now in the arrangement page, set midi channel of Kontakt to All. Now you can create Midi tracks for each midi channel. Multiple outputs are either managed inside the sampler itself or using the Multiple Output version of the plugin, depending of which plugin model.
    Hope this helps

  • Add channels

    Hello to everyone,
    I'm having trouble finding out how to manually add channels. I'm using a tv @nywhere master it found a lot of channels but not all.
    So now I'm very [table=][/table]puzzled.
    Is there anybody out there with the answer ? 
    Thanxs

    Verizon is in negotiations with Fox for FSC HD, so hopefully we'll see that soon. MSG HD and MSG+ HD are still being withheld. Even though MSG has been spun off from Cablevision, they still share the same upper management. The FCC has eliminated the loophole that has prevented Verizon from getting these HD channels, but you can bet that MSG will use every legal means possible to keep the HD signals off of Verizon in order to protect Cablevison.

  • [Forum FAQ] A content management tool with dashboard based on SharePoint List

    1. 
    Scenario:
    The SharePoint OOTB List has saved us a lot of time on managing mess data. It provides three forms to create/view/edit items, the ability to save the views we want with some specific filtering and sorting condition, versioning for easy restoring, and we
    can make it advanced with workflow contains the specific business logic.
    However, if there is a need for better user experience, interacting with the public APIs and a bit of script to customize the web page would be required.
    Suppose there is a requirement like this:
    We need a content collection tool which collects ideas from contributors, the newly ideas will be reviewed by reviewers.
    We may need to filter the list in a convenient way, get the wanted result with the data from the list and display in a chart or rank list. 
    We can add some buttons in Metro style to display the counting result of the data from the list dynamically. When we click them, the list will be filtered and sorted to display a friendly set of items. Also, we need to display a trend of the mess data graphically
    in some beautiful charts.  If we want to find out some outstanding contributors, top contributor board would be more comfortable than the top N items in the OOTB list view.
    The page would look like this:
    2. 
    Introduction:
    Engineers will come up with some ideas in the daily job and write a content to enlighten others. Reviewers will help to review ideas or contents and publish the contents if qualified.
    The complete process looks like this:
    As we can see, only the approved idea can be written as a content and only the approved content can be published.
    2.1
    How it works
    We build the whole tool in one page. All ideas and contents will be saved in a custom list. This is how it looks like:
    There are three parts in this page:
    1       
    2       
    2.1       
    2.1.1       
    Top menu
    The top menu contains three elements:
    A Drop Down menu for filtering data by team, it will refresh the other two parts with the filtered data:
    A hyperlink “STATISTIC” links to a PowerBI report whose data source is the custom list.
    A hyperlink “FEEDBACK” for collecting feedbacks:
    The feedbacks will be saved in another list:
    2.1.2       
    Information menu
    This part will display the calculated data retrieved from the list within tiles, chart and ranking list.
    The tiles can be clicked to filter and refresh the list view.
    2.1.3       
    List view
    A list stores all ideas and contents with the properties needed. It can be filtered by the Top menu and Information menu.
    The customization on the OOTB custom list template makes it more powerful and more suit for this scenario:
    1. An item leveled comment feature (based on OOTB Tags & Notes feature) for other users make comments to an idea or content:
    2. Title column: When there is no attachment in the current item, it redirects to the default DisplayForm page. If there is, it will open the attachment (usually a .docx file) in Word Online in a new tab.
    3. ECB menu: Add some custom shortcuts for popular actions:
    4. A hyperlink column stores the hyperlink points to the website where the content is published to.
    3.   
    How to achieve it
    This solution will be hosted in SharePoint Online environment, so we do all the job using JavaScript, REST API and Client Object Model.
    The Drop Down menu, tiles, rank list are generated with some HTML+CSS.
    The Trend Chart, we take advantage of the Combo chart in the Google chart library.  
    The list view is hosted in a <iframe> which can be easily filtered and refreshed by just passing a generated URL with query string.
    For the customization on the list view and the ECB menu, JSLink with Client Object Model would be OK.
    3.1
    Specific to every part
    3.1.1       
    Top menu
    3.1.1.1 
    Drop Down menu for retrieving filtered data and refreshing the display of the related controls
    When user selects a team here, there will be a request sent out for retrieving items of the list. By default, the limit is 100 when using REST API to get list items, so we can append a “$top=1000” to require more items from server.
    Code snippet like this:
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items?$top=1000",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log("getListItems succ");
    console.log(data);
    error: function (data) {
    alert("getListItems error");
    //failure(data);
    Then we will get the “data” as a JSON format string, it contains all the values we need from the list:
    We can get the values we want like this:
    //get item Count
    var arr = [], len;
    for(key in data.d.results)
    arr.push(key);
    len = arr.length;
    for(var ii=0; ii<len; ii++)
    var team = data.d.results[ii].Team;
    var month = data.d.results[ii].Month;
    As we need to know the counts of each type of ideas or contents, we use an array for saving the counters:
    //ary to store all counters for tiles: all/pendingIdea/pendingContent/my/approvedIdea/approvedContent
    var aryAllCounters = [0,0,0,0,0,0];
    for(var ii=0; ii<len; ii++)
    //get pendingIdeaCount
    if(data.d.results[ii].Statuss === 'Pending')
    aryAllCounters[1]++;
    Once all the numbers are ready, we can do the refreshing.
    As the list view page is hosted in a <iframe>, all we need to do is passing a constructed URL with query string:
    url_team = URL + "?FilterField1="+FIELD_MYTEAM+"&FilterValue1=" + sel_val;
    $iframe.attr('src', url_team);
    3.1.1.2 
    Hyperlink for popping up a dialog to collect feedbacks
    The feedback dialog hosts another page which contains two buttons and one text area.
    The HTML code of the FEEDBACK button:
    <a id="feedback" href="#" onclick="javascript:openDialogBox('../SitePages/Feedback.aspx');">FEEDBACK</a>
    The openDialogBox() function:
    function openDialogBox(url){
    var options = SP.UI.$create_DialogOptions();
    options.url = url;
    options.height = 130;
    options.width = 425;
    options.title = "Feedback";
    SP.UI.ModalDialog.showModalDialog(options);
    In the Feedback.aspx page, when user click submit button, we will save the content of the text area into the feedback list:
    function addListItem()
    this.clientContext = new SP.ClientContext.get_current();
    this.oList = clientContext.get_web().get_lists().getByTitle('Feedback');
    var itemCreateInfo = new SP.ListItemCreationInformation();
    this.oListItem = this.oList.addItem(itemCreateInfo);
    //set person field
    var userValue = new SP.FieldUserValue();
    //userValue.set_lookupId(this.currentUser.get_id());
    userValue.set_lookupId(_spPageContextInfo.userId);
    oListItem.set_item('Provider', userValue);
    //Sets the specified field value
    oListItem.set_item('Title', str);
    //datetime field
    var currDate = new Date();
    oListItem.set_item('Submit_Time',currDate);
    oListItem.update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded_add), Function.createDelegate(this, this.onQueryFailed));
    3.1.2       
    Information menu
    3.1.2.1 
    Tile shortcut
    In the click event of the tiles, the code will pass a generated URL with query string to the <iframe>:
    //filter list only
    $tile.click(function(){
    //distinguish tiles by id
    var v = $(this).attr('id');
    switch(v)
    case S_MY_CONTENT:
    url_team1 = URL + "?FilterField1="+FIELD_COMPOSER+"&FilterValue1=" + currentUsername;
    break;
    case S_PENDING_IDEA:
    url_team1 = url_team + "&FilterField2="+FIELD_STATUS+"&FilterValue2=Pending&FilterField3="+FIELD_IDEATYPE+"&FilterValue3=Idea";
    break;
    $iframe.attr('src', url_team1);
    3.1.2.2 
    Trend chart
    The chart will be initialized with the numbers by month stored in a 3D array:
    google.load("visualization", "1", {packages:["corechart"]});
    google.setOnLoadCallback(drawVisualization);
    function drawVisualization(ary)
    // Some raw data (not necessarily accurate)
    var data = google.visualization.arrayToDataTable(ary);
    var view = new google.visualization.DataView(data);
    view.setColumns([0, 1,
    { calc: "stringify",
    sourceColumn: 1,
    type: "string",
    role: "annotation"
    2]);
    // Create and draw the visualization.
    var ac = new google.visualization.ComboChart(document.getElementById('chart1'));
    ac.draw(view, {
    //legend: 'top',
    legend: {
    title : '',
    //width: 0,
    //height: 285,
    vAxis: {title: "", format:'#',viewWindowMode:'explicit',
    viewWindow:{
    min:0
    },ticks: ticks
    //hAxis: {title: ""},
    lineWidth: 4,
    bar: {groupWidth: "60%"},
    seriesType: "bars",
    series: {1: {type: "line"}},
    chartArea:{
    colors: ['#A4C400', '#F9A13B']
    3.1.2.3 
    Top contributors rank list
    When retrieving list items, we can get the “AuthorId” which represents the id of the user in the siteUserInfoList. We run another request to retrieve all items in the siteUserInfoList which stores the username with the URL of profile.
    Then we can use a hash table(provided by jshashtable.js) to store the user id, username and profile URL:
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/siteUserInfoList/Items",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log(data);
    //get item Count
    var arr = [], len;
    for(key in data.d.results)
    arr.push(key);
    len = arr.length;
    var ht_authors = new Hashtable();
    for(var ii=0; ii<len; ii++)
    if(authorSet.contains(data.d.results[ii].Id))
    if(data.d.results[ii].Picture != null)
    ht_authors.put(data.d.results[ii].Id, data.d.results[ii].Title+'|'+data.d.results[ii].Picture.Url);
    else
    ht_authors.put(data.d.results[ii].Id, data.d.results[ii].Title+'|');
    console.log("ht_authors.keys(): "+ht_authors.keys());
    console.log("ht_authors.values(): "+ht_authors.values());
    error: function (data) {
    alert("error");
    //failure(data);
    3.1.3       
    List view
    For the Comment button, custom title link and the custom published link of each item, we can use JSLink to achieve.
    Comment button: It is supposed to be the OOTB “Type” column, I change the icon and modify the click event of it to pop up a comment dialog which take advantage of the OOTB “Tags&Notes” feature;
    Custom Title link: As there will be two situations of an item: has attachment or not. We will need to run a request to get the URL of attachment and change the hyperlink of the Title field accordingly:
    (function () {
    // Create object that have the context information about the field that we want to change it output render
    var linkFiledContext = {};
    linkFiledContext.Templates = {};
    linkFiledContext.Templates.Fields = {
    //"Attachments": { "View": AttachmentsFiledTemplate }
    "LinkTitle": { "View": TitleFieldTemplate },
    "Published_x0020_Link": { "View": PublishedLinkFieldTemplate },
    "DocIcon": { "View": DocIconFieldTemplate },
    "MyTeam": { "View": MyTeamFieldTemplate }
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(linkFiledContext);
    function DocIconFieldTemplate(ctx)
    var htmlStr = "";
    var listId = ctx.listName;
    var itemId = ctx.CurrentItem.ID;
    var s = listId + "," + itemId;
    htmlStr += "<img width='16' height='16' class=' ms-draggable' alt='Comment' src='"+_spPageContextInfo.webAbsoluteUrl+"/Shared%20Documents/img/comment-icon.png' border='0' ms-draggableragId='0' onclick='CommentIcon(\""+ s +"\")'></img>";
    return htmlStr;
    function CommentIcon(s)
    var listId = s.split(',')[0];
    var itemId = s.split(',')[1];
    var url=_spPageContextInfo.webAbsoluteUrl+"/_layouts/15/socialdataframe.aspx?listid="+listId+"&id="+itemId+"&mode=1";
    console.log(url);
    openCustomDialog(url,"Comment",650,520);
    function openCustomDialog(pageUrl,title,width,height)
    SP.UI.ModalDialog.showModalDialog({
    url: pageUrl,
    width: width,
    height: height,
    title: title,
    dialogReturnValueCallback: function (result){
    if(result== SP.UI.DialogResult.OK)
    parent.window.location.href=parent.window.location.href;
    function PublishedLinkFieldTemplate(ctx)
    //console.log(ctx);
    var htmlStr = "";
    var itemPublishedLink = "";
    var itemPublishedLinkDesc = "";
    if((ctx.CurrentItem.Published_x0020_Link != ''))
    itemPublishedLink = ctx.CurrentItem.Published_x0020_Link;
    itemPublishedLinkDesc = ctx.CurrentItem["Published_x0020_Link.desc"];
    htmlStr = "<a href='" + itemPublishedLink + "' target='_blank'>" + itemPublishedLinkDesc + "</a>";
    return htmlStr;
    function MyTeamFieldTemplate(ctx)
    var htmlStr = "";
    var itemMyTeam = "";
    if((ctx.CurrentItem.MyTeam[0] != undefined) && (ctx.CurrentItem.MyTeam[0] != null))
    itemMyTeam = ctx.CurrentItem.MyTeam[0].lookupValue;
    htmlStr = itemMyTeam;
    return htmlStr;
    function TitleFieldTemplate(ctx) {
    console.log(ctx.CurrentItem);
    var itemId = ctx.CurrentItem.ID;
    var itemTitle = ctx.CurrentItem.Title;
    var listName = ctx.ListTitle;
    var siteUrl = _spPageContextInfo.webAbsoluteUrl;
    var listUrl = _spPageContextInfo.webAbsoluteUrl + "/Lists/" +listName;
    var fileNames = getAttachmentsNames(listName, itemId);
    console.log(fileNames);
    var fileNameAry = fileNames.split("|");
    var htmlStr = "";
    //check the attachment existence
    if(fileNameAry[0] != '')
    for(var j = 0; j < fileNameAry.length; j++)
    var fileName = fileNameAry[j];
    var s1 = "<a class=\"ms-listlink ms-draggable\" onmousedown=\"return VerifyHref(this, event, '1', 'SharePoint.OpenDocuments.3', '1";
    //1``https://microsoft.sharepoint.com/teams/spfrmcs
    var s2 = "/_layouts/15/WopiFrame.aspx?sourcedoc=";
    //2``/teams/spfrmcs/Lists/Content%20Pool
    var s3 = "/Attachments/";
    //3``137
    var s4 = "/";
    //4``[Forum FAQ] Highlight the list tab in Quick Launch when the list view changes.docx
    var s5 = "&action=default'); return false;\" href=\"";
    //5``https://microsoft.sharepoint.com/teams/spfrmcs/Lists/Content Pool
    var s6 = "/Attachments/";
    //6``137
    var s7 = "/";
    //7``[Forum FAQ] Highlight the list tab in Quick Launch when the list view changes.docx
    var s8 = "\" target=\"_blank\" DragId=\"1\">";
    //8``Highlight the list tab in Quick Launch when the list view changes
    var s9 = "</a>";
    var s = s1+siteUrl+s2+listUrl+s3+itemId+s4+fileName+s5+listUrl+s6+itemId+s7+fileName+s8+itemTitle+s9;
    htmlStr += s;
    //console.log(htmlStr);
    if (j != fileNameAry.length - 1)
    htmlStr += "<br/>";
    //if no attachments, set the <a> point to displayForm
    else
    htmlStr += "<a class='ms-listlink ms-draggable' onclick='EditLink2(this,28);return false;' onfocus='OnLink(this)' href='" + siteUrl + "/_layouts/15/listform.aspx?PageType=4&ListId=%7BE54A4FBB%2DDDC2%2D4F7E%2D8343%2D8A1C78757CF4%7D&ID=" + itemId + "&ContentTypeID=0x010079A1D928FF77984C80BFEF1D65C3809F' target='_blank' DragId='0'>" + itemTitle + "</a>";
    return htmlStr;
    function getAttachmentsNames(listName,itemId) {
    var url = _spPageContextInfo.webAbsoluteUrl;
    var requestUri = url + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")/AttachmentFiles";
    var str = "";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    for (var i = 0; i < data.d.results.length; i++)
    if(i != 0)
    str += "|";
    str += data.d.results[i].FileName;
    error: function (err) {
    //alert(err);
    return str;
    3.2
    How to make them work together
    When selecting an option in the Drop Down menu, the Information menu and the List view will be refreshed separately.
    When clicking the tiles, only the list view will be filtered and refreshed, the other parts will not be influenced.
    When items created/modified, the whole page will be refreshed to keep all the numbers in each part updated.  A workflow will also be triggered to inform engineers or reviewers the progress of an item or content.
    3.3
    Other customizations
    3.3.1       
    ECB menu and permission control
    As we need to refresh the page when new item or modify item, we put all the form pages in a custom modal dialog and execute the refresh in the success callback function.
    There are three roles: Site owner, reviewer and engineer. They have limited privileges according to the roles they are:
    Site owner: Full control on the list, can see all the buttons in the ECB menu;
    Reviewer: There is another list which stores the names of each team and reviewers’ names of each team. The reviewer has limited full control only on the team they belong to. To other teams, the role can be seen as a visitor;
    Composer
    (create owner): The one who contribute an idea. For the ideas\contents from other teams, this role can be seen as visitor.
    The ECB menu they can see is:
    For the visitor, the ECB menu will only display a few buttons:
    The code:
    (function () {
    var viewContext = {};
    viewContext.Templates = {};
    viewContext.OnPostRender = OnViewPostRender;
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(viewContext);
    function OnViewPostRender(ctx) {
    $("a[title='More options']").removeAttr("onclick");
    $(".ms-list-itemLink").removeAttr("onclick");
    $("a[title='More options']").attr("onclick", "showMenuList(this);return false;");
    function showMenuList(obj) {
    var itemId = $(obj).parents("tr").attr("id").split(",")[1];
    //show ECB menu
    CoreInvoke('ShowECBMenuForTr', obj, event);
    var teamId = getCurrentTeamId("Content Pool", itemId);
    var styles = "";
    if (isSiteOwner("Technet SharePoint Team Owners")) {
    styles = "li[text='Delete Item ']{display:block;} li.ms-core-menu-separator:last-child{display:block;} ul.ms-core-menu-list > li:nth-last-child(5){display:block;} li[text='Edit Item ']{display:block;} li[text='Upload Document']{display:block;} li[text='Approve']{display:block;} li[text='Reject']{display:block;} li[text='Add Publish Link']{display:block;}";
    } else if (isReviewer("List1_FAQ_team", teamId, "Reviewers")) {
    styles = "li[text='Delete Item ']{display:block;} li.ms-core-menu-separator:last-child{display:block;} ul.ms-core-menu-list > li:nth-last-child(5){display:block;} li[text='Edit Item ']{display:block;} li[text='Upload Document']{display:block;} li[text='Approve']{display:block;} li[text='Reject']{display:block;} li[text='Add Publish Link']{display:block;}";
    } else if (isComposer(obj)) {
    styles = "li[text='Delete Item ']{display:block;} li.ms-core-menu-separator:last-child{display:block;} ul.ms-core-menu-list > li:nth-last-child(5){display:block;} li[text='Edit Item ']{display:block;} li[text='Upload Document']{display:block;} li[text='Approve']{display:none;} li[text='Reject']{display:none;} li[text='Add Publish Link']{display:none;}";
    } else {
    styles = "li[text='Delete Item ']{display:none;} li.ms-core-menu-separator:last-child{display:none;} ul.ms-core-menu-list > li:nth-last-child(5){display:none;} li[text='Edit Item ']{display:none;} li[text='Upload Document']{display:none;} li[text='Approve']{display:none;} li[text='Reject']{display:none;} li[text='Add Publish Link']{display:none;}";
    includeStyleElement(styles);
    //get current team id
    function getCurrentTeamId(listName,itemId){
    var teamId="";
    var requestUri = _spPageContextInfo.webAbsoluteUrl +
    "/_api/Web/Lists/getByTitle('"+listName+"')/items("+itemId+")?$select=MyTeamId";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    if(data.d.MyTeamId!=null){
    teamId=data.d.MyTeamId;
    }else{
    teamId="0";
    error: function () {
    //alert("Failed to get details");
    return teamId;
    //check whether is owner
    //Technet SharePoint Team Owners
    function isSiteOwner(groupName) {
    var flag = false;
    var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/Web/effectiveBasePermissions";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    var permissions = new SP.BasePermissions();
    permissions.fromJson(data.d.EffectiveBasePermissions);
    flag = permissions.has(SP.PermissionKind.managePermissions);
    error: function () {
    //alert("Failed to get details");
    return flag;
    function isComposer(obj) {
    var flag = false;
    var userId = _spPageContextInfo.userId;
    var composerId = $(obj).parents("tr").find("a[href*='userdisp.aspx']").attr("href").split("ID=")[1];
    if (composerId == userId) {
    flag = true;
    return flag;
    //check whether is reviewer
    function isReviewer(listName,teamId,peopleColumn){
    var flag=false;
    var userId=_spPageContextInfo.userId;
    // begin work to call across network
    var requestUri = _spPageContextInfo.webAbsoluteUrl +
    "/_api/Web/Lists/getByTitle('"+listName+"')/items?$select=ID&$filter=(ID eq '"+teamId+"' and "+peopleColumn+"Id eq '"+userId+"')";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    if(data.d.results.length>0){
    flag=true;
    error: function () {
    //alert("Failed to get details");
    return flag;
    //insert style into page
    function includeStyleElement(styles) {
    var style = document.createElement("style");
    style.type = "text/css";
    (document.getElementsByTagName("head")[0] || document.body).appendChild(style);
    if (style.styleSheet) {
    //for ie
    style.styleSheet.cssText = styles;
    } else {
    //for w3c
    style.appendChild(document.createTextNode(styles));
    3.3.2       
    Workflow email customization
    The email will only be sent to engineer or team reviewer in the three scenarios:
    When engineer uploads an idea or content, reviewer will receive an email;
    When engineer uploads a content to an existing idea, reviewer will receive an email;
    When reviewer approve/reject an idea or content, engineer will receive an email;
    The design of the workflow process  :
     The email design like this:
    Email to engineer
    Email to reviewer
    Let us know if you are interested in it. Happy coding!
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    A good solution. Liked it very much. Can you please make it a technet blog for others.
    [email protected]

  • Problem with n95 pc suite music manager

    when i load up pc suite and click on music manager to transfer music files from my pc to my phone it shows up for about 10 secs and automatically closes by itself, every other one is fine except install applications which does the same thing but i can update my contacts, view images, messages and the lot apart from music manager and applications, so basically i cant transfer any music on to my phone now plus i even tried uninstalling the old version and installing the updated version of pc suite but its still same thing.

    if you use file transfer...it should be on your memory card where the files should be save...and if you are using n95 8GB...you can then try to move the files from memory to your phone's internal memory...but i think..music player is smart enough to display all the music files transferred to your mobile...not unless file is not supported...that's the case with my n73ME..all music file i transferred can all be seen in the music player..i suggest you just refresh library...or move the files to folder where other music files visible in the music library...good luck
    some aint missing a good thing til its gone...

  • Manually Installed Agent is not showing up in the Operations Manager Console Under Pending Management.

    Hi Community,
    I submitted this question because I'm a bit stuck with SCOM 2012 R2, I'll try to explain briefly what is happening right now in my environment,  we have a DEV SCOM Deployment in which all the roles are installed in a single server, this servers is a
    VMware machine running Windows Server 2008R2.
    The Initial installation of the SCOM Operations Manager and all the other components was not performed by me but by a co-worker, unfortunately he doesn't remember much about the initial configuration. So i had to pickup where he left things about a year
    ago, neither of us are SCOM experts, and we have almost no previous experience with previous versions of this application.
    Now the problem that I'm facing is the following, all the DEV Servers are Domain Controllers and one of the indication within the "Guide for System Center Management Pack for Active Directory for Operations Manager 2012" states the following
    Configuration
    Supported?
    Agent-less monitoring
    No
    After my first review I notice that our servers were being monitor by agent-less mode and given the above statement from the Operations Guide the only way that we could ever get those domain controllers monitor by SCOM would be by installing the agent on
    each server, so I read somewhere (Can't remember where) that in order to install the agents in all the servers I should first remove them from the Agent-less node, which I did. Then I tried to use the discovery wizard to get the agent install in all of them
    but it didn't matter how many times I try the servers never show up.
    I read in a Tech Net Article that you had to modify the security settings so SCOM would let me decide if I wanted to approve it or not.
    --> http://technet.microsoft.com/en-us/library/hh212853.aspx
    I performed the suggested steps from the article but still the servers were not showing up, not even if I run the Discovery wizard, so I decided to go and perform the installation manually in a couple of servers I was able to install the agent in one of
    the Domain Controllers, I configured the agent to use a service account that has Domain Admin rights. An hour after I installed the agent I went back to the Operations Console Manager and I check under Pending Action but the Server was not showing up. So i
    went back to the Internet to try to find out if someone else had experience the same problem, and in one website some mentioned that if the servers were not showing up it was probably because they were still register in the SCOM Database, now I have no idea
    of how i can check that or How can i remove them from there to have them available again, but what troubles me the most is that even after i installed the agent manually the server were not being recognize.
    I went to the Event Viewer and I found one particular event that caught my attention, see below :
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          6/12/2014 12:48:19 PM
    Event ID:      11551
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      MyManagementServer
    Description:
    Computer verification failure for Machine Name: MyManagementServe is 0x800706BA. The RPC server is unavailable.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Health Service Modules" />
        <EventID Qualifiers="49152">11551</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-12T16:48:19.000000000Z" />
        <EventRecordID>1945680</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>MyManagementServer</Computer>
        <Security />
      </System>
      <EventData>
        <Data>MyManagementServe</Data>
        <Data>0x800706BA</Data>
        <Data>The RPC server is unavailable.</Data>
      </EventData>
    </Event>
    Not sure if this is related to the problem that I'm facing right now, but , I make sure that the RPC Services were running and also the related dependencies too. There's no Firewall enable in any of the servers and DNS seems to be working properly.
    Ports 135 / 5723 are open and listening so since I ran out of ideas, I would like to know if some of the experts in this field could perhaps give me some guidelines.
    There's one caveat that I haven't mention yet and that is related to SQL, I checked and my user just has read access to SQL i'm not sure if that could affect this but i think is worth mentioning.
    My main goal is to have all the servers showing up in the Operations Manager Console.
    So thanks all in advance !
    Oscar Loria

    So you can ping and nslookup from your ms to these agents and vice versa right?  I wouldn't do a manual install, I would push the agent from the management server.  You can uninstall the agent manually, or use cleanmom to get rid of them.  Then
    do an install from the console.  When you initiate the install from the console (management server), should it run into any issues it will dump out an error which will give you an idea of where the problem may be.
    From Holmans post on this:
    e MOM Server could not execute WMI Query "Select * from Win32_OperatingSystem" on 
    computer “servername.domain.com” 
    Operation: Agent Install 
    Install account: DOMAIN\account 
    Error Code: 800706BA 
    Error Description: The RPC server is unavailable.
    The MOM Server could not execute WMI Query "(null)” on 
    computer “servername.domain.com” 
    Operation: Agent Install 
    Install account: DOMAIN\account 
    Error Code: 800706BA 
    Error Description: The RPC server is unavailable.
    8004100A 
    800706BA
    1.  Ensure agent push account has local admin rights 
    2.  Firewall is blocking NetBIOS access.  If Windows 2008 firewall is enabled, ensure “Remote Administration (RPC)” rule is enabled/allowed.  We need port 135 (RPC) and the DCOM port range opened for console push through a firewall.  
    3.  Inspect WMI service, health, and rebuild repository if necessary 
    4.  Firewall is blocking ICMP  (Live OneCare) 
    5.  DNS incorrect 
    http://blogs.technet.com/b/kevinholman/archive/2009/01/27/console-based-agent-deployment-troubleshooting-table.aspx
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • Better Alpha channel handling

    I've asked for this a lot: alpha channel saving with PS is terrible, and could use an update. And today, I was embarrassed by a bug that caused our game engine to perform poorly as a result of the way Photoshop handles the alpha channel.
    The bug: make a 1024x1024 canvas, give it an opaque alpha channel (100% white, every pixel), then Image Size it down to something smaller, like 128x128. Now look at your alpha channel: grey pixels all along the border. ARRGGGHHH!!!1!1! It interpolated, I'm sure, using black alpha outside the canvas that doesn't actually exist, changing, in a powerful, fundamental way, the nature of the alpha channel. Video cards care about this stuff: 99.9% opaque is not 100% opaque. This is terrible.
    The request: That PS intelligently offer better defaults when saving an image with an alpha. Right now, it offers, "What was the last bit depth you saved an image to?" Regardless of the fact that the previous image may have no relationship to the following image being saved, the default offering is always "what I did last time". This enables very easy pruning of alpha channels that should be there, or adding opaque alpha channels that shouldn't be there, bloating the file size.
    I'd like PS to determine if an alpha channel is present, and base its default choice on that. If one is present, default to 32-bits. If an alpha channel si not present, default to 24-bits. That easy.
    If multiple alpha channels are present, I'd like a dropdown menu to pick which one I want. Right now, if you save a PSD with multiple alpha channels to a 32-bit TGA, it throws all alpha channels away, and saves the image with a solidly opaque alpha channel, the choice no one asked for.
    For texture work, or works where the graphics card is the destination, not the printed page, this cavalier handling of alpha channels is definitely not sustainable.
    I'd love to never have to ask for this again.

    Generally speaking the resize of an image on a layer in which the canvas is exactly the size of the data will result in transparency peeking in around the edge (i.e., I'm agreeing with you here, just using Photoshop terms).  I've always thought this was kind of poorly thought-out too.  As you say, the algorithm must default to using 0 vs., say, replicating (or "clamping") to the alpha of the pixels right on the edge.
    I suppose theoretically, the thinking is that if you were to EXPAND the canvas, the area around the image would be transparent anyway, and a subsequent resampling would then have the same result as the above.
    Knowing this, one way to work around the problem would be to create a slightly larger image, then Canvas Size it down to your intended resolution.  That way there's layer data beyond the edges with which the resizing algorithm can work.  I realize that's probably not a practical solution in general, but a trick to keep up your sleeve if you really do need that 128 x 128 image with alpha solid to the edge.
    -Noel

  • Software Configuration Management of Oracle eBS

    Hi All
    I am setting up a standard configuration management, build & deployment automation and change & release management process for all types of applications including Oracle eBS, Informatica, Siebel, Cognos, Java etc. As you know, SCM for Java and .Net types of applications are very matured, but not for other types of applications such as Oracle eBS.
    Can you give me some hint on how to manage Oracle eBS applications from SCM's perspective? For example,
    1. How to version control eBS artifacts?
    2. How to build eBS artifacts and then deploy to a new environment?
    3. How to manage changes?
    We have a standard SCM tool called RTC from IBM, which has version control, build and change control functions.
    Thanks
    Jirong

    Hello Jirong,
    I did a lot in the configuration management area related to EBS, in terms of concepts and practical implementations.
    I would suggest that you take a look at the following material and afterwards, please contact me to clarify any question you might have.
    https://blogs.oracle.com/ebs_customization_management/
    In terms of technical solutions, I have worked a lot with Oracle AMS (ACMP), different consulting solutions, but also with non-commercial tools. So we will find a solution also together with RTC/IBM.
    You can find me in linkedin.
    Best Regards
    Volker

Maybe you are looking for

  • Calcolate DEBIT ,CREDIT and BALANCE

    how can i calcolate DEBIT ,CREDIT and BALANCE from table " KNC1" according to period . as if peroid between 01.01.2010 and 01.10.2010 so calcolate UM01S ,UM02S to UM10S   AS  "DEBIT " AND             UM01H ,UM02H TO UM10H  AS " CREDIT " AND          

  • PL/SQL function to read a string of characters into an array

    I was wondering if there is an easier way than using the substr function multiple times. Here is the example: Suppose you have a varchar2 variable that contains the word 'Apple'. The function should take it and produce an array. We would invoke it li

  • Connect webdynpro callable object with ms sql server 2000

    Hi all how connect webdynpro callable object with ms sql server 2000? How can I register on the portal as an additional connection? thank you very much!

  • Fans only run slow, not fast on PowerMac G5 Dual 2.3

    I've noticed recently that some occasional kernal panics seem related to the fact that under a heavy load my processor fans are not revving up. This is on my olde PowerMac Dual 2.3 from some time ago. We have the same model at one of our workstations

  • Green Screen with Adobe Flash

    I suddenly have a green screen whenever I try to watch a video.  I have seen the suggestion to disable hardware acceleration.   However, when I right click to access that setting, I don't even have a display tab at all and therefore can't disable the