Text rejection

I am experiencing text rejection on my phone. I can't text certain cellular numbers in my phone or receive text from those numbers either, but we can call each other. Obviously, they are not blocked because we talk but why can I not send or receive text from these numbers?
Post relates to: Pre Plus p101vzw (Verizon)

How were the contacts in question added? Where they added from an incoming call? If so this may resolve this issue.
  Remove the contacts that arn't working from Contacts, from Messaging, and the Call Log.
Perform a manual backup under Backup.
From Device Info, Reset Options, choose Erase Apps and Data. (This will delete all PIM data on the device, and then reboot)
Sign back into the your Palm profile. ( Be sure you have your correct email and password)
Add your missing contacts back to Contacts.
In the future do not add contacts from a inbound call as the same issue may result. 

Similar Messages

  • Incoming Text Rejected

    Can you get back text messages that were rejected or find out where they were from?

        Suzq1129, thanks for posting. I am sorry but you are not able to get back any message that were rejected or deleted. I hope this helps. ^SP

  • How to Place Approve and Reject Button in every row to approve and reject the particular order in sapui5

    Hi Experts,
       How to Place Approve and Reject Button in every row  to approve and reject the particular order in sapui5.
      Please Kindly help me.
    Thanks & Regards
    Chitti Babu

    Hi Chitti,
    You can achieve this using sap.m.CustomListItem.
    View :
    <core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
      xmlns:l="sap.ui.layout" xmlns="sap.m" controllerName="demoallinonegrid.tablewithscroll"
      xmlns:html="http://www.w3.org/1999/xhtml">
      <Page title="Title">
      <content>
      <ScrollContainer horizontal="true" width="100%">
      <Table id="empTable">
      <headerToolbar>
      <Toolbar>
      <Label text="Employees"></Label>
      </Toolbar>
      </headerToolbar>
      <columns>
      <Column width="12em">
      <Label text="Employee Id"></Label>
      </Column>
      <Column width="12em">
      <Label text="Last Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="First Name"></Label>
      </Column>
      <Column width="12em">
      <Label text="Title"></Label>
      </Column>
      <Column width="12em">
      <Label text="Approve"></Label>
      </Column>
      <Column width="12em">
      <Label text="Reject"></Label>
      </Column>
      </columns>
      </Table>
      </ScrollContainer>
      </content>
      </Page>
    </core:View>
    Controller:
    var model = new sap.ui.model.json.JSONModel();
      model.loadData("http://services.odata.org/Northwind/Northwind.svc/Employees?$format=json",null,false,'GET',false,null);
      this.getView().byId("productTable").setModel(model);
      var template = new sap.m.ColumnListItem({
      cells:[
            new sap.m.Text({text:"{EmployeeID}"}),
            new sap.m.Text({text:"{LastName}"}),
            new sap.m.Text({text:"{FirstName}"}),
            new sap.m.Text({text:"{Title}"}),
            new sap.m.Button({text:"Approve"}),
            new sap.m.Button({text:"Reject"})
      this.getView().byId("empTable").bindAggregation("items","/value",template);
    Output:
    Regards,
    KK

  • Getting NetConnection.Connect.Rejected

    I signed up with a FMS hosting service. They have a nice
    interface where I was able to install an application. I called it
    "simple", cause its bare bones simple. After installing, it gives
    me the rtmp connection string. Problem is - I get
    NetConnection.Connect.Rejected every time. I tried removing it, and
    installing again. But same thing.
    This is in frame 1. Is there something wrong with this?
    my_nc = new NetConnection();
    my_nc.onStatus = function (info) {
    switch(info.code)
    case "NetConnection.Connect.Success":
    textbox.text = "success" + "\n";
    break;
    case "NetConnection.Connect.Rejected":
    textbox.text = "rejected" + "\n";
    textbox.text += info.application.msg + "\n";
    textbox.text += "Event: " + info.code + "\n";
    textbox.text += "Type: " + info.level + "\n";
    textbox.text += "Message:" + info.description + "\n";
    break;
    case "NetConnection.Connect.Failed":
    textbox.text = "failed";
    break;
    case "NetConnection.Connect.Closed":
    textbox.text += "Connection closed.";
    break;
    my_nc.connect("rtmp://exx3333.rtmphost.com/simple");
    (I didn't put in the exact rtmp string in there, since this
    is a public forum)
    The result I get printed out in the text box is:
    rejected
    undefined
    Event: NetConnection.Connect.Rejected
    Type: error
    Message:[ Server.Reject ] : (_defaultRoot_, _defaultVHost_) :
    Application (simple) is not defined.
    But - the hosting service's interface panel shows that
    application "simple" is there. I sent the hosting service a support
    request, but I probably won't hear back from them until
    Monday.

    Hi Cisco_s,
    Your code looks good - I think there's nothing you can do
    other than wait. Apparently there's something wrong with the VHOST
    configuration on their side.

  • [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]

  • How to add multiple button in a column of a table in sapui5?

    Hi Experts,
         I have a requirement i have list of orders in a table and i want to place two buttons in a column for approval and reject,
    if it approved i want to display approved as a text.
    i tried like this i place two buttons in matrix layout and i write a case statement i tried to return but its not displaying the layout.
    Please help me.
    Thanks & Regards
    chittibabu.

    Hi,
    You can't add a layout to the text property of a textfield, so this won't work.
    A better approach would be something like this:
    oTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Confirmation"}),
      template: new sap.ui.layout.HorizontalLayout({
        content : [
          new sap.ui.commons.TextView({
            text: "Confirmed",
            textAlign: sap.ui.core.TextAlign.Left,
            visible : ...
          new sap.ui.commons.Button({
            text : Approve,
            press : doApprove,
            visible : ...
          new sap.ui.commons.Button({
            text : "Reject",
            press : doReject,
            visible : ...
    Simply place all needed elements inside the layout, and based on the 'visible' property, you either show both buttons, or the textview.
    I'll leave it as an exercise to you on how you should actually handle the visible state for the TextView and Buttons (hint: use model binding)

  • Java script error  when click on the  Tableview  in the BSp screen

    Hi All,
              I am getting a javascript error saying
    Line : 7770
    Char :5
    Error : 'rows' is null  or not an object
    Code : 0
    URL : http://saperpdev01............
    I checked the source code on the BSP displayed page. It don't has that line 7770 specified in the error.
    My Layout code is :
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "Open Work Screen with Pre Approval and Rejected Invoices ">
        <htmlb:form id = "openwork" method = "post" >
    <%
      data: l_num_msgs  type i,
      l_condition type string,
      l_message   type string,
      l_severity  type i.
    %>
        <img align="left" src="hl_invoicing.gif"/>
          <BR>
          <p align="left">      </p>
          <p align="left">      Complete the form below to create and submit a vehicle repair invoice to Schwans Home Service.</p>
          <p align="left">      See
          <htmlb:link id            = "paymenttermslink"
                      text          = "Payment Terms"
                      onClientClick = "return parent.EPCM.doNavigate ('ROLES://portal_content/com.schwans.tsfc.The_Schwans_Food_Company/HS/iView_folder/External_Content/KM_iViews/Fleet_Payment_Terms', 1);"
                           />
          for payment details.</p>
          <%
              l_num_msgs = page->messages->num_messages( ).
              do l_num_msgs times.
              clear : l_message, l_condition, l_severity.
              call method page->messages->Get_message
              exporting index     = sy-index
              importing condition = l_condition
              message   = l_message
              severity  = l_severity.
              if l_condition eq 'error'.
          %>
          <h3 align="left"> <font size=2 color="Red"><b>      <%= l_message %></b></font></h3>
          <%
              elseif l_condition eq 'warning'.
          %>
          <h3 align="left"> <font size=2 color="orange"><b>      <%= l_message %></b></font></h3>
          <%
              endif.
              enddo.
          %>
          <htmlb:group id     = "groupone"
                       design = "sapcolor" >
         <htmlb:groupHeader>
            <table width="100%" border="0" cellpadding="5" cellspacing="1" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv1"
                                      text    = "Select a  Work Order Number"
                                      design  = "HEADER1" / >
                    </td>
                </tr>
            </table>
        </htmlb:groupHeader>
        <htmlb:groupBody>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv2"
                                      text    = "Pre-approved work"
                                      design  = "HEADER2" / >
                    </td>
                </tr>
            </table>
        <table width = "100%">
          <tr>
          <td>
          <htmlb:tableView id               = "openwork"
                           table            = "<%= INVOICE->AT_OPENWORK %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_OPENWORKSELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Open Work Exists"
                           keyColumn        = "OPENWORKNO"
                           onRowSelection   = "openworktable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName = "OPENWORKNO"
                                     title      = "Reference Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "DOC_TYPE_TEXT"
                                     title      = "Document Type"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Created On"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "VMRS_TEXT"
                                     title      = "VMRS Code"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
          </td>
          </tr>
          </table>
        </htmlb:groupBody>
        </htmlb:group>
        <htmlb:group id     = "grouptwo"
                       design = "sapcolor" >
         <htmlb:groupHeader>
         </htmlb:groupHeader>
        <htmlb:groupBody>
             <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv3"
                                      text    = "Rejected Invoices"
                                      design  = "HEADER2" / >
                    </td>
                </tr>
            </table>
          <table width = "100%">
          <tr>
          <td>
          <htmlb:tableView id               = "rejectedinvoice"
                           table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Rejected invoices Exists"
                           keyColumn        = "INVOICENO"
                           onRowSelection   = "rejectedinvoicetable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                     title              = "Reference Number"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Invoice Date"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                     title      = "Reason for Rejection"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
          </td>
          </tr>
          </table>
      </htmlb:groupBody>
    </htmlb:group>
    <htmlb:textView id     = "tv1"
                    text   = "Select a Reference Number from the table above and click the Select button - or - Click the Create New button to create a new invoice."
                    design = "LABEL" />
         <table width="100%" border="0" cellspacing="1"  align="center" >
           <tr>
           <td  align="center" nowrap="TRUE">          
             <htmlb:button    id            = "selectbtn"
                              text          = "SELECT"
                              onClick       = "btnselect" />
             <htmlb:button    id            = "createnewbtn"
                              text          = "Create New"
                              onClick       = "btncreatenew" />
             </td>
           </tr>
          </table>
        </htmlb:form>
        <%@include file="footer.htm" %>
      </htmlb:page>
    </htmlb:content>
    What may be wrong????
    If I click anywhere on the table view it's giving a javascript error. If I try to select a row from the table also it's giving error for one or two times and on the third time i am able to select the table content and can able to navigate to the next page.
    Thanks for your help in advance.
    Thanks,
    Greetson

    Hi Raja,
         please kindly recheck the code if mine i have two tables ..... one for heading and another one for Body.
    it looks correct to me.
    <table width = "100%">
    >     <tr>
    >     <td>
          <htmlb:tableView id               = "rejectedinvoice"
                           table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Rejected invoices Exists"
                           keyColumn        = "INVOICENO"
                           onRowSelection   = "rejectedinvoicetable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                     title              = "Reference Number"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Invoice Date"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                     title      = "Reason for Rejection"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
    >     </td>
    >    </tr>
          </table>

  • Weblogic Portal Administration Console - Workflow problem

    Hi
    I began with WLP a week ago. When I try default workflow, I see that it doesn't work right
    When I download workflow file (default.xml) it like this:
    <pre class="jive-pre">
         <transition>
              <from-status id="1"/>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
              <to-status id="4">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
              <to-status id="5">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.RetireAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="2">
    <capabilityConstraint>can_publish</capabilityConstraint>
    </from-status>
              <to-status id="3">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.RejectAction"/>
              </to-status>
              <to-status id="4">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
              <to-status id="5">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.RetireAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="3"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
         </transition>
         *<transition>*
              *<from-status id="4"/>*
    *<to-status id="1">*
    *<action class="com.bea.content.virtual.workflow.DraftAction"/>*
    *</to-status>*
              *<to-status id="5">*
    *<capabilityConstraint>can_publish</capabilityConstraint>*
                   *<action class="com.bea.content.virtual.workflow.RetireAction"/>*
              *</to-status>*
         *</transition>*
         <transition>
              <from-status id="5"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
    <to-status id="2">
    <action class="com.bea.content.virtual.workflow.ReadyAction"/>
    </to-status>
              <to-status id="4">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
         </transition>
    <transition>
    <from-status id="-1"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
    </transition>
    <beginStatus id="1" />
    <status id="1" text="Draft" />
    <status id="2" text="Ready for Approval" />
    <status id="3" text="Rejected" />
    <status id="4" text="Published" />
    <status id="5" text="Retired" />
    </workflow>
    </pre>
    When an item (content) was approved (published or current id = 4), I try to change it's status again. But I found "Ready for Approval" status (this status doesn't config in workflow at from id = 4) in the list of "check in content" form. I created another workflow file then applied to an item.
    This file:
    <pre class="jive-pre">
         <transition>
              <from-status id="1"/>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="2"/>
              <to-status id="3">
                   <action class="com.bea.content.virtual.workflow.RejectAction"/>
              </to-status>
              <to-status id="4">
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="3"/>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
              <to-status id="1">
                   <action class="com.bea.content.virtual.workflow.DraftAction"/>
              </to-status>
         </transition>
         *<transition>*
              *<from-status id="4"/>*
              *<to-status id="5">*
                   *<action class="com.bea.content.virtual.workflow.RetireAction"/>*
              *</to-status>*
         *</transition>*
         <transition>
              <from-status id="5"/>
              <to-status id="1">
                   <action class="com.bea.content.virtual.workflow.DraftAction"/>
              </to-status>
         </transition>
    <transition>
    <from-status id="-1"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
    </transition>
    *<beginStatus id="1" />*
    <status id="1" text="Draft" />
    <status id="2" text="Ready" />
    <status id="3" text="Reject" />
    <status id="4" text="Approve" />
    <status id="5" text="Retire" />
    </workflow>
    </pre>
    After I had changed the item's status to Approve, I checked out then checked in to access "check in content" form. I found that the list is not map with workflow file.
    Workflow file : Retire
    In the list : Ready
    After many times examination I found that the result of the list in "check in content"(when item in Publish state) follow beginStatus id property. It means when i change value of id in beginStatus tag then the values in the list change base on value of the id.
    I was confused is it really wrong or i was missed something configuration. I tried it 3 day but I can't fingure it out
    *So sory beacse my Enghlish is not good.
    Please, help me
    Best Regards
    Edited by: user8502077 on 03-Mar-2011 05:46

    Hi
    I began with WLP a week ago. When I try default workflow, I see that it doesn't work right
    When I download workflow file (default.xml) it like this:
    <pre class="jive-pre">
         <transition>
              <from-status id="1"/>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
              <to-status id="4">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
              <to-status id="5">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.RetireAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="2">
    <capabilityConstraint>can_publish</capabilityConstraint>
    </from-status>
              <to-status id="3">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.RejectAction"/>
              </to-status>
              <to-status id="4">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
              <to-status id="5">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.RetireAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="3"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
         </transition>
         *<transition>*
              *<from-status id="4"/>*
    *<to-status id="1">*
    *<action class="com.bea.content.virtual.workflow.DraftAction"/>*
    *</to-status>*
              *<to-status id="5">*
    *<capabilityConstraint>can_publish</capabilityConstraint>*
                   *<action class="com.bea.content.virtual.workflow.RetireAction"/>*
              *</to-status>*
         *</transition>*
         <transition>
              <from-status id="5"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
    <to-status id="2">
    <action class="com.bea.content.virtual.workflow.ReadyAction"/>
    </to-status>
              <to-status id="4">
    <capabilityConstraint>can_publish</capabilityConstraint>
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
         </transition>
    <transition>
    <from-status id="-1"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
    </transition>
    <beginStatus id="1" />
    <status id="1" text="Draft" />
    <status id="2" text="Ready for Approval" />
    <status id="3" text="Rejected" />
    <status id="4" text="Published" />
    <status id="5" text="Retired" />
    </workflow>
    </pre>
    When an item (content) was approved (published or current id = 4), I try to change it's status again. But I found "Ready for Approval" status (this status doesn't config in workflow at from id = 4) in the list of "check in content" form. I created another workflow file then applied to an item.
    This file:
    <pre class="jive-pre">
         <transition>
              <from-status id="1"/>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="2"/>
              <to-status id="3">
                   <action class="com.bea.content.virtual.workflow.RejectAction"/>
              </to-status>
              <to-status id="4">
                   <action class="com.bea.content.virtual.workflow.PublishAction"/>
              </to-status>
         </transition>
         <transition>
              <from-status id="3"/>
              <to-status id="2">
                   <action class="com.bea.content.virtual.workflow.ReadyAction"/>
              </to-status>
              <to-status id="1">
                   <action class="com.bea.content.virtual.workflow.DraftAction"/>
              </to-status>
         </transition>
         *<transition>*
              *<from-status id="4"/>*
              *<to-status id="5">*
                   *<action class="com.bea.content.virtual.workflow.RetireAction"/>*
              *</to-status>*
         *</transition>*
         <transition>
              <from-status id="5"/>
              <to-status id="1">
                   <action class="com.bea.content.virtual.workflow.DraftAction"/>
              </to-status>
         </transition>
    <transition>
    <from-status id="-1"/>
    <to-status id="1">
    <action class="com.bea.content.virtual.workflow.DraftAction"/>
    </to-status>
    </transition>
    *<beginStatus id="1" />*
    <status id="1" text="Draft" />
    <status id="2" text="Ready" />
    <status id="3" text="Reject" />
    <status id="4" text="Approve" />
    <status id="5" text="Retire" />
    </workflow>
    </pre>
    After I had changed the item's status to Approve, I checked out then checked in to access "check in content" form. I found that the list is not map with workflow file.
    Workflow file : Retire
    In the list : Ready
    After many times examination I found that the result of the list in "check in content"(when item in Publish state) follow beginStatus id property. It means when i change value of id in beginStatus tag then the values in the list change base on value of the id.
    I was confused is it really wrong or i was missed something configuration. I tried it 3 day but I can't fingure it out
    *So sory beacse my Enghlish is not good.
    Please, help me
    Best Regards
    Edited by: user8502077 on 03-Mar-2011 05:46

  • Two radio button in each row of Table view

    Hi,
    I have a issue like two radio button should come in each row of the tableview and any one only can be selected and selected value should be assigned to a variable.
    Kindly help with coding in methods RENDOR_CELL_START AND RENDER_ROW_START.
    Thanks in Advance.
    Saravanan.

    Saravanan,
    If you keep the Radiobutton in 2 different column then it wil difficult to put it in one Radiobuttong Group. I am not sure its possible or not. I would suggest you do keep both the "Approved" & "Rejected" radio button in single column as shown below so that the memont "Rejected" is selected, "Approved" will be unchecked.
    WHEN 'Your Column'.
            DATA: RAD_GRP TYPE REF TO CL_HTMLB_RADIOBUTTONGROUP,
                     RAD_BTN  TYPE REF TO CL_HTMLB_RADIOBUTTON,
                     COL_BEE TYPE REF TO CL_BSP_BEE_TABLE.
              CREATE OBJECT COL_BEE.
              RAD_GRP = CL_HTMLB_RADIOBUTTONGROUP=>FACTORY(
                      ID = P_CELL_ID COLUMNCOUNT = '2' ).
              COL_BEE->ADD( ELEMENT = RAD_GRP LEVEL = 1 ).
              RAD_BTN ?= CL_HTMLB_RADIOBUTTON=>FACTORY( ID = '1' TEXT = 'Approved' ).
              COL_BEE->ADD( ELEMENT = RAD_BTN LEVEL = 2 ).
              RAD_BTN ?= CL_HTMLB_RADIOBUTTON=>FACTORY( ID = '2' TEXT = 'Rejected' ).
              COL_BEE->ADD( ELEMENT = RAD_BTN LEVEL = 2 ).
              P_REPLACEMENT_BEE ?= COL_BEE.
          ENDCASE.
    Again to get the selected radiobutton, use method REQUEST->GET_FORM_FIELDS
    DATA: GT_TIHTTPNVP TYPE TIHTTPNVP.
    REFRESH GT_TIHTTPNVP.
    CALL METHOD REQUEST->GET_FORM_FIELDS
      CHANGING
        FIELDS = GT_TIHTTPNVP.
    For example, suppose your 3r column has 2 radio buttons & In 1st Row if you've selected the radiobutton 2. THen get_form_fields return the below value.
    TV1_1_3 = 2. Here TV1 is tableview name & 1 - Row 1 & 3 -Column three. value 2 indicates that 2nd radio button is selected.
    DO 10 TIMES. "Here 10, stands for number of visible rows in tableview
    concantenate 'TV1' '_' sy-tabix '_' '3' into v_cell_id. "Here now v_cell_id will have TV1_1_3 for 1st row & etc..
    Read table GT_TIHTTPNVP into wa with key name = v_cell_id.
    if sy-subrc = 0.
    v_selected_rad_btn = wa-value. " THis will give you the selected radio button.
    endif.
    enddo.
    Hope this will solve your problem.
    Raja T
    Message was edited by:
            Raja Thangamani

  • Need help on POPUP screen  in web ui

    Hi Experts,
    I have created popup screen in the eh_onsave method .Now it is triggering, in this popup it is displaying YES, NO and CANEL buttons. But i want to change the standard buttons descriptions. how to do ?
    I have created custom buttons and displaying as  ACCEPT, REJECT AND CHANGE on the popup screen. if I click any button on the popup is returning same event id, i have seen in debugging custo_btn .
    below is my code.
    ls_button-id = 'ACCEPT'.
      ls_button-text = 'Accept'.
      ls_button-on_click = 'ACCEPT'.
      ls_button-on_select = 'ACCP'.
      append ls_button to lt_buttons.
      clear ls_button.
      ls_button-id = 'REJECT'.
      ls_button-text = 'Reject'.
      ls_button-on_click = 'REJECT'.
      append ls_button to lt_buttons.
      clear ls_button.
      ls_button-id = 'CHANGE'.
      ls_button-text = 'Change'.
      ls_button-on_click = 'CHANGE'.
      append ls_button to lt_buttons.
      clear ls_button.
      call method comp_controller->window_manager->create_popup_2_confirm
        exporting
          iv_title          = 'Vary Item Proposal'
          iv_text           = lv_text
          iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_custom
          iv_custombuttons  = lt_buttons
        receiving
          rv_result         = gv_confirm_popup.
      gv_confirm_popup->set_on_close_event(  iv_view = me
                                             iv_event_name = 'CONFIRM_POPUP_CLOSED' ).
      gv_confirm_popup->open( ).
    ethod EH_ONCONFIRM_POPUP_CLOSED.
    Added by wizard: Handler for event 'CONFIRM_POPUP_CLOSED'
    INCLUDE: crm_object_types_con.
    DATA: lv_answer TYPE string.
    lv_answer = GV_confirm_popup->get_fired_outbound_plug( ).
    CASE lv_answer. "Here i am getting the same id for any button.
    WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_yes.
    WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_no.
    WHEN OTHERS.
    ENDCASE.
    Please help me.
    Thanks,
    Venky

    Hi Venky
    Try to Implement the below lines along with other lines while building the button, apart from that check ON_CLIENT_CLICK also (instead of on_click use the on_client_click)
    ls_button-enabled = 'X'.
    More over I checked your code in the CASE statement you are using the stanadrad constants like co_event_yes , but you are setting the event with other names pls check that also.
    now your code will look like this
    ls_button-id = 'ACCEPT'.
    ls_button-text = 'Accept'.
    ls_button-enabled = 'X'.
    ls_button-on_client_click = 'ACCEPT'.
    ls_button-on_select = 'ACCP'.
    append ls_button to lt_buttons.
    clear ls_button.
    hope this helps.
    Thanks & Regards
    Raj
    Edited by: bmsraj on Sep 21, 2011 7:06 PM

  • Direct Debits F110

    Hi Specialist
    I need help to find a standar function module to do it:
    - Normally in my company we receive bank rejections and the users must reverse the payments manually.
    - I propose do it automatic and for that we received from the bank a file with one rejection code, Sap document and one text rejection.
    - THen i would like create a program to update the file and after one FUNCTION MODULE to read the information from the file reverse all documents and add the text ( to do it i created a ztable) after run the transaction FBRA.
    Anyone know if there are any standars function modules to do it???
    Thank you
    Adrian

    Hi Jenna,
    In the log I can see the message 'SEPA mandate & for bank xxx has been assigned to a contract' FZ788. This means: Mandates with contract cannot be used for the payment of any invoice. The invoice has to be assigned to the mandate or be assigned in the payment run.
    Please check the F1-help of the field 'SEPA Mandate: Contract Type' in the mandate.
    The Note http://service.sap.com/sap/support/notes/1874892 describes the various options.
    Regards,
    Emőke

  • Delete Command button doesn't take more than one parameter while update command does

    Hi,
    Does anybody have an idea WHY sharepoint does not send the parameter information to a delete command while the exact same parameter is being sent to the Update command?, the data is being pulled from an asp:TextBox bound  to the 'comments' field in
    the data source which happens to be the field I need to update, the code works for Update commands but not for Delete commands. Unfortunately I have to use sharepoint designer because SP is restricted at work, so I can't write code behind the scenes. I would
    appreciate any help, here's my code
    <%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/v4.master" title="Test" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %>
    <%@ Register tagprefix="SPSWC" namespace="Microsoft.SharePoint.Portal.WebControls" assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="cc2" namespace="Microsoft.SharePoint.WebControls" assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="WebUI" namespace="Microsoft.Office.InfoPath.Server.Controls.WebUI" assembly="Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="WebPartPages" namespace="Microsoft.SharePoint.WebPartPages" assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <asp:Content id="Content1" runat="server" contentplaceholderid="PlaceHolderMain">
    <asp:SqlDataSource runat="server" ProviderName="System.Data.SqlClient" UpdateCommand="sp_updateStartedApprovals" ID="SqlDataSource2" ConnectionString="Data Source=MCARLOSJ2;User ID=sa;Password=****;Initial Catalog=MyDB;" SelectCommand="SELECT * FROM mainView " __designer:customcommand="true" UpdateCommandType="StoredProcedure" DeleteCommand="sp_rejectApprovals" DeleteCommandType="StoredProcedure">
    <UpdateParameters>
    <asp:Parameter Name="comments" Type="String"/>
    <asp:parameter Name="id" Type="Int32" />
    </UpdateParameters>
    <DeleteParameters>
    <asp:Parameter Name="comments" Type="String"/>
    <asp:parameter Name="id" Type="Int32"/>
    </DeleteParameters>
    </asp:SqlDataSource>
    <asp:GridView runat="server" id="GridView1" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" DataKeyNames="id" GridLines="None" ForeColor="#333333" CellPadding="4">
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <Columns>
    <asp:boundfield DataField="description" HeaderText="Status" ReadOnly="True" SortExpression="description">
    </asp:boundfield>
    <asp:boundfield DataField="Employee Last Name" HeaderText="Employee Last Name" ReadOnly="True" SortExpression="Employee Last Name">
    </asp:boundfield>
    <asp:boundfield DataField="Employee First Name" HeaderText="Employee First Name" ReadOnly="True" SortExpression="Employee First Name">
    </asp:boundfield>
    <asp:boundfield DataField="Pending approval" HeaderText="Pending approval" ReadOnly="True" SortExpression="Pending approval">
    </asp:boundfield>
    <asp:boundfield DataField="Atnmt %" HeaderText="Atnmt %" ReadOnly="True" SortExpression="Atnmt %">
    </asp:boundfield>
    <asp:boundfield DataField="Country" HeaderText="Country" ReadOnly="True" SortExpression="Country">
    </asp:boundfield>
    <asp:boundfield DataField="comments" HeaderText="comments" ReadOnly="True" SortExpression="Comments">
    </asp:boundfield>
    <asp:boundfield DataField="processStartedDate" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Date Opened" ReadOnly="True" SortExpression="processStartedDate">
    </asp:boundfield>
    <asp:boundfield DataField="Due Date" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Due Date" ReadOnly="True" SortExpression="Due Date">
    </asp:boundfield>
    <asp:templatefield>
    <ItemTemplate>
    <asp:TextBox runat="server" id="comments" Text='<%# Bind("comments") %>'/>
    <asp:LinkButton runat="server" Text="Approve" id="Button1" CommandName="Update" CausesValidation="False" />
    <asp:LinkButton runat="server" Text="Reject" id="Button2" CommandName="Delete" CausesValidation="false"/>
    </ItemTemplate>
    </asp:templatefield>
    </Columns>
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <PagerStyle HorizontalAlign="Center" BackColor="#284775" ForeColor="White" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <EditRowStyle BackColor="#999999" />
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
    </asp:Content>

    Hi,
    you have multiple options here:
    1) upload as a script:
    a) save the statements in a file
    b) go to sql workshop > sql scripts
    c) upload script and run the script
    2) run the script line by line in the sql commands window directly:
    a) go to sql workshop > sql commands
    b) copy all statements there
    c) highlight the first statement with the mouse
    d) click "run" or press <ctrl>+enter
    3) use sql developer
    a) go to http://www.oracle.com/technology/products/database/sql_developer/index.html
    b) download and install
    c) connect to XE
    d) run the statements there
    Regards,
    ~Dietmar.

  • Popup not displayed with hierarchyViewer

    here is the code I have used
    <af:popup id="popupDialog" contentDelivery="lazyUncached">
    <af:menu >
    <af:commandMenuItem text="Accept" id="cmi1"
    inlineStyle="text-align:left;"/>
    <af:commandMenuItem text="Reject" id="cmi2"
    inlineStyle="text-align:left;"/>
    <af:commandMenuItem text="Override" id="cmi3"
    inlineStyle="text-align:left;"/>
    </af:menu>
    </af:popup>
    The below code is present in dvt:hierarchyViewer's node tag
    <af:panelGroupLayout layout="vertical" halign="center"
    inlineStyle="width:100%;" id="pgl2">
    <af:showPopupBehavior popupId="::popupDialog"
    triggerType="mouseOver"
    align="afterStart" alignId="pgl2"/>
    When mouseOver is done popup is not displayed.
    Am I missing some thing.
    Thanks
    Naga

    I take it you're an Oracle employee using a later JDev release than what's available publically? Oracle employees are asked to use the internal Oracle forums.
    However can I make a suggestion that first you move your <af:showPopupBehavior> tag to a child of an <af:commandButton> and change the triggerType = "action", and see if that works. This will tell you have the basics working. Then try moving the <af:showPopupBehaviour> tag to a non DVT control, such as an image, and see if this works.
    In addition how come you're <af:showPopupBehavior> popupId specifies colon-colon-popupDialog?
    CM.

  • OnBefore/AfterRendering in combobox.

    Hi,
    I have one table which is tied to one ODataModel. Now in the table one of the columns is 'ComboBox' which is tied to one of the properties in the model.
    Depending upon some other property I am supposed to make this combobox editable.
    For that I tried using 'formatter' function and 'onBefore/AfterRendering' call back as follows. None of them worked. It was strange to know that 'onBeforeRendering'/'onAfterRendering' doesn't get called.
    Find my code below:
    var combo = new sap.ui.commons.ComboBox({
      editable: false,
       valueState:{
      parts:["/StatusText","/EndDate"],
      formatter: function(oVal1, oVal2){
      console.log('calling formatter');
      console.log("oVal1"+oVal1); // this is undefined
      console.log("oVal2"+oVal2);// this is also undefined
      if(oVal2){
      this.setEditable(true);
      return sap.ui.core.ValueState.None;
      onAfterRendering: function(arg1, arg2){
      console.log('onBeforeRendering:: function()');
      console.log(arg1);
      console.log(arg2);
      items: [
                                      new sap.ui.core.ListItem({text: "New",key:"0"}),
                                      new sap.ui.core.ListItem({text: "In Process",key:"1"}),
                                      new sap.ui.core.ListItem({text: "Complete",key:"2"}),
                                      new sap.ui.core.ListItem({text: "On hold",key:"3"}),
                                      new sap.ui.core.ListItem({text: "Cancelled",key:"4"}),
                                      new sap.ui.core.ListItem({text: "Rejected",key:"5"}),
                                      new sap.ui.core.ListItem({text: "In review",key:"6"}),
                                      new sap.ui.core.ListItem({text: "Approved",key:"7"}),
                                      new sap.ui.core.ListItem({text: "Approved by SD",key:"8"}),
                                      new sap.ui.core.ListItem({text: "Rejected by SD",key:"9"})
                                      ]}).bindProperty("value","StatusText").bindProperty("selectedKey","Status")
                                      .attachChange({name :sProperty},this.change);
      column.setTemplate(combo);
    Any Help will be appreciated.
    Thanks,
    Supriya Kale

    hi Supriya
    Move the onAfterRendering method out like this.
    combo.onAfterRendering: function() {
      if (sap.ui.commons.ComboBox.prototype.onAfterRendering) {
           // have to call control's onAfterRendering method if there is one.
          sap.ui.commons.ComboBox.prototype.onAfterRendering.apply(this);
      console.log('onAfterRendering:: function()');
    -D

  • How to change reject call SMS message text

    Hello everyone
    Some time ago I bought a Nokia N9 and one feature I use frequently is reject calls sending a message.
    In other Nokia phones (symbian) you can change the message text in options section, but in this phone I can find how to change it.
    Do anyone know how to change this message?
    Thanks in advance

    Hi Amit,
    This can be done easily, if it showing the data of a view object then you can change the value of view attribute.
    Suppose a column in VO I say rank fetches value as 1,2,3 then in vo query to append L1,L2....
    Suppose I have quary like select rank from xx_table then I can change it to select 'L'||rank from xx_table.
    I hope this will resolve your problem.
    Regards,
    Reetesh Sharma

Maybe you are looking for

  • EJB 3.0 local lookup from POJO in WLS Cluster

    Hello, I'm developing on JDeveloper Studio Edition Version 11.1.2.3.0 and deploying to a WebLogic 10.3.5 Cluster. I have developed an EJB 3.0 stateless session bean and I need to invoke it from a POJO within the same EAR, specifically an ADF EntityIm

  • Windows 8.1 update-WON​'T for satellite laptop-hel​p!

    I have been trying to update my windows 8.1 to the latest 8.1 update for x64 based systems (KB2919355).  I got the message that I needed to update to this along with a security update needed for windows explorer 11 (KB2936068).  I have tried to downl

  • SharePoint Services 2.0 Obsolete?

    We are still using TFS 2008.  That server is running Microsoft Windows SharePoint Services 2.0 SP3 which I'm told is now obsolete.  Is that version still supported and - if not - what recommendations can you provide regarding an update without breaki

  • Application

    Hi guyz, i have an assets application developed in Oracle 10G forms using 9i database. Office guyz can access application, I have an real IP is there anyway that some other branches can access the same application through net? if yes anyone guide me

  • Conflicting functions AS 2.0

    Is there a way to make the onMouseDown function also work within the MovieClips area in this code example?  It seems like the two functions are conflicting. attachMovie("nutrition","nutrition",4,{_x:715, _y:370}); nutrition.gotoAndPlay(); nutrition.o