Customer submitted webapp creating blank items

I have customer submitted webapp - it's part of a custom comments webapp that I've built - the form is part of the detail layout of another webapp and is submitted via ajax - the form has at least one prepopulated field (Name has a value='{module_firstname}' )
Every thing works as expected 99% of the time - but, I've had a couple of completely blank webapp items end up being submitted?
If anyone has any thoughts on how/why this could be happening it would be much appreiciated
I can't supply a link to what I'm taling about as it's all behind a paid secure zone.
Cheers
Pat
I discovered that the problem was that I was using ajax to submit the form and jQuery to add in some additional fields the background. If the user had javascript disabled it would successfully submit the form, even though it had no item name - My solution was to not use the form submit button (which was being prevented from acting as a submit button by jQuery) and attach the 'submit' to a <p> so if javascript is disabled nothing happens (and added a <noscript> message so the user would know what was going on.

Hey Pat,
Regarding the first question - I am afraid the only way to set the expiry date is to add X days to the current date, so calculating the number of days between the date you want the item to expire and the current days is the way to go here.
Regarding the second question I am afraid there is no "easy" way around this, weight values cannot be assigned through the front-end, so sorting is limited to the default options (date, datereverse, alphabetically and so on). One way I'd see this happening is like so
-define a layout that renders all the webapps
-using js convert the event date to miliseconds and hide the events you do not want to show
There are some potential performance issues with this approach, if you need to display alot of items (with pictures for example) the system will load all the items every time and then hide the ones that are outside the desired range.
A more complicated way of rendering specific webapp items would be to create a "lightweight" list layout containing only the URL and the event date field (this should load up fairly fast) and then using ajax load only the needed items into the page. I would advise to use this approach in case you run into performance issues caused by loading the "detail" layout of the webapps.
Hope this helps,
Mihai.

Similar Messages

  • Customer Submitted webapp with payment

    Hi,
    How can we set minimum amount for webapp, when a customer submits a webapp item.
    Thank you
    Gregory M

    Hi Gregory,
    Although we do not have a specific feature to apply restriction high/low to the payment amount you might be able to acheive by applying some custom JS.  I don't have an example but will leave this thread open to the community for suggestions and samples.
    Kind regards,
    -Sidney

  • Question - are we not able to create indexed items in custom folders?

    Just a question here. I would like to use the index/Value option for parameters in a workbook. This is where the List of Values drop down box for the parameter would show both the index number and the value and let you choose to select based on the index or on the value. An obvious example of this would be with months, where you would have January (1), February (2), March (3), and so forth. To do this, you have to set up indexed items in Discoverer Administrator.
    That is where I am running into a problem/issue. I am not being able to pick an item and click to look at its properties, scroll down to the Indexed Item property, click on that property, and get a list of items to pick from. On the indexed item property I see a value of <None>, and when I click on that property, no list of items pops up.
    I have defined indexed items before, but that was always done on regular folders (imported from the database). In this case, I am working with a custom folder.
    The SQL that I have keyed in for this custom folder is this -
    SELECT flex_value, description, flex_value_set_id, flex_value_id
    FROM fnd_flex_values_vl
    WHERE flex_value_set_id = 1011187
    ORDER BY flex_value;
    FND_FLEX_VALUES_VL is an Oracle view, that combines Oracle tables FND_FLEX_VALUES and FND_FLEX_VALUES_TL.
    My goal would be to show both the FLEX_VALUE and the DESCRIPTION in the parameter to the users, so they can better decide what value(s) they want to pick. This is a general ledger application that I am working with, with the General Ledger account number segments and the Flexfield value set for each segment (we are using 7 segments to define our general ledger account number).
    Am I not able to define indexed items when working with a custom folder? The documentation is not real clear. It talks about simple folders and complex folders, but does not mention custom folders, at least that I can find. Or perhaps I need to do something different with how I code the SQL for the custom folder to enable me to define indexed items in the custom folder?
    Hope this makes some sense. Always a challenge to explain the situation in a clear manner. Thanks for any insight/assistance anyone can give me on this.
    John Dickey

    Ahh, those picky little details. Once I created an Item Class LOV on my item, then I could click on the Indexed Item property and get the list of fields in the folder to show up and pick my item (to be the indexed item) from that list. I went back to the user guides and the documentation sure does not indicate this requirement. For example, in the Discoverer Administrator guide, you have the section (page 9-30 in the version I have) titled "How to assign an indexed item to an item". Nowhere in that section does it say that you have to create an Item Class LOV first to be able to do this. Though it does show how if you do not have an LOV on the item you pick to be the indexed item, you will be prompted to create an LOV for that item. In the past I had my LOVs created first. This time I was trying to do the indexed item first before creating my LOVs. So lesson learned - you have to create an Item Class LOV first before you can assign an indexed item to an item.
    Thanks for the assistance.
    John Dickey

  • PO got created with item blank

    Hi,
    The Purchase Order got created with item blank.
    first user created PR, by taking the reference of that PR they created PO. after saving only header details are there in PO and line items are missing.
    This issue in Production so we cant create PO.
    any way to check this issue ? since no background job is involved only foreground (manullay) they created.
    Last week i raised another thread for PR creation item blank.
    [ The Purchase requisitions got created without document type and first item blank this is the problem am facing .
    If we try to create a PR in the foreground, SAP doesnu2019t allow any blank line. it will adjusted automatically.and document type also mandatory.
    we dont know how this PR got created ]
    I didnt get any solution for this two issue.
    Help me on this.
    Regards,
    Priya.

    Hi ,
    You can goto change mode which is the item blank PO then give to the item no after save this time is solved na..
    if not solved na. some condition process ... so you can refer to document or note.
    Thanks
    Regards
    I.Muthukumar.

  • Vendor not intended when create SC using create limit item

    Hi All,
    This is a challenging issue for all of us...
    SRM : 5.0
    ECC : 6.0
    I am facing the problem when creating the Shopping cart..
    When i click on Centralized purchasing -- > Shop -- > Create Limit item
    and give the Desc, Product category, Value limit, Expected value, Date between, Supplier and Follow-up actions as Confirmation and Invoice and account assignment as Known and click add to shopping cart..
    It is giving a message vendor not intended for purchaing org.. in the Item under Good/Service field value LIMIT is getting created automatically.. I dont understand how it is getting created..
    If i try to create one more item and specify the Good/service as our custom field value  , for this item there are no error and
    no message saying Vendor not intended for Purchasing organization..
    Please help me in finding out the issue.So that will be greatful to you..
    Advanced thanks
    Points will be rewarded..
    Regards
    Raju

    Hi Teja,
    I agree with you answer..
    When i tryo to create SC using the Product which are repliacted from ECC to SRM.. I am able to create SC successfully. That means vendor is properly intended to the Porg and Pgrp right...
    When i click on Centralized purchasing -- > Shop -- > Create Limit item
    and give the Desc, Product category, Value limit, Expected value, Date between, Supplier and Follow-up actions as Confirmation and Invoice and account assignment as Known and click add to shopping cart..
    It is giving a message vendor not intended for purchaing org.. in the Item under Good/Service field value LIMIT is getting created automatically.. I dont understand how it is getting created and Product type is neither a Material nor service.. The product type field vale is blank....
    Please help me in finding out the issue.So that will be greatful to you..
    REgards
    Kumar

  • Unable to create publication item for remote database using db link

    The mobile repository is in instance A.
    I have to access and sync data from a table in remote database instance B.
    I have run the consolidator_rmt.sql script in instance B under schema_B. I have created a private fixed user db link in instance A under schema_A to access schema_B's tables. I then created a synonym test_B for table test_B in schema_B using the DB link.
    While creating publication item for test_B using MDW, the column list for test_B appears blank. Has anyone encountered this problem and what is the solution.
    Thanks for your help.
    Rosa.

    Hello Pruthvi ,
    See these threads
    Uninstalling MaxDB
    Work process Ended.
    Thanks
    Chandran

  • The Create List Item workflow action does not work in document library with document template

    My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.
    I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.
    I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new
    document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates
    an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow.
    When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.
    I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.
    Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

    I had the same problem with corrupted document - this worked for me:
    1. Create a 2010 Workflow which creates the list element in a document library
    (you may start this workflow from your 2013 workflow if applicable)
    2. In the Create New List Item properties - make sure to set ContentTypeId to your content type
    ("Id for indholdstype" is Danish for "Contenttype ID")
    3. Your Content Type template should be a ".docx" file - NOT a ".dotx" file...!
    (I have always created my templates for content types as .dotx files - seems Microsoft wants us to use ordinary .docx files as template files for content types)
    Hope this helps you!

  • To change a field to edit ,which is in customer fields tab of an item in crmd_order transaction.

    Hi All,
    My requirement is to change a "field to edit" which is in "customer fields tab" of an item in "crmd_order" transaction.
    Please find the screen shot.
    Please help me with this issue

    Use easy enhancement workbench
    The Easy Enhancement Workbench is a development tool with which SAP applications (called Business Objects in the following document) can be extended in a simple manner.
    Customer enhancements to a Business Object are defined via wizards. The Workbench then does all development work for the user; databank tables, screens and application logic are created automatically. Finally the customer enhancement is included in the SAP standard.
    This also allows users without ABAP knowledge the simple possibility of extending the SAP standard.
    An extension created using the Easy Enhancement Workbench does not differ technically from one created manually. In both cases transportable ABAP objects are created and the same Customer Exits, Business Transaction Events or BAdIs are implemented
    You need to use EEWB feature to achieve the same.
    Tutorial
    http://www.scribd.com/doc/6755615/Eewb-Steps
    http://help.sap.com/saphelp_crm50/helpdata/en/9f/a19c921f0911d6b1d500508b6b8b11/frameset.htm
    In addtion check this note
    Note 484597 - Customer enhancement of CRM applications
    a guide is attached to it for telling u steps
    Hope query is solved
    Regards
    Prakhar

  • Data Source  combine - Customer Invoice and Outbound Delivery Item Details

    Hello,
    I need create report where getting the outbound delivery item details ( like ship date, quantities, product, identified_stock)
    and also need invoice number ( customer invoice number) which is available in the Customer Invoice Header or Detail source.
    But try to create combined data source not able to join  Customer Invoice and Outbound Delivery Item Details.
    Since after adding any one of them as first datasource and try to add another data source from above then it doesn't shows up.
    Anybody have idea how to get the invoice information (invoice number) and shipping data.
    Thanks,
    Viral.

    Hi Viral,
    you only can comine data sources of the same access context. The customer invoice data sources have access context "company" and the outbound delivery sources have "site" or "sales". So unfortunately, you can`t combine these data sources.
    Best regards,
    Andreas

  • Creating page items from pl/sql procedure and using them on a page

    I have a page containing 2 select lists (P21_DEPARTMENTS and P21_DATE). Originally I added them as items that were "select list with submits". The problem is that based on the clearance level of the currently logged on user I only wanted the P21_DEPARTMENTS to be a select list if the user was an administrator. If however the user is not an admin then I want the page to have a hidden form field called P21_DEPARTMENTS that stores the user's department and has a label item that has the department name.
    There is also a report region that generates a table based on the department selected from the select list (if the user is an admin) or the value stored in the hidden form field if the user is not.
    My problem is that I cannot have both those items on the same page and use the HTML built-in authentication to determine which item should be rendered because I need to use the same ID for both items so that the stored procedure in my report region doesn't break. HTML does not permit items to share the same ID.
    I tried to circumvent the problem by creating a stored procedure that performs all of the item rendering in the procedure and uses "htp.p()" to output all of my HTML code. This solution would allow me to pass a parameter into the procedure informing me as to whether or not the user is an administrator. If the user is an administrator the procedure would use a conditional statement and render a select list. If not, the hidden form field and label option would be used instead.
    I finally got the stored procedure working perfectly. Now I am encountering the most bizarre thing. Since the "select list with submit" was not working (I used the same code that gets generated when I created other items using htmlDB's GUI) I decided to use a JavaScript function instead that gets triggered by the onChange event. I send along the value that is currently selected in the select list and in the function I set:
    location.href='http://www.myoraclesite.com/pls/htmldb/f?p=111:21:729740000000000000::NO::P21_DEPARTMENTS:1';
    In theory this should work. The problem is that it doesn't. The page reloads and the P21_DEPARTMENTS select list is not pre-selected.
    The only thing I can think of is that when htmlDB generates page items that you've created with it's own admin tool it assigns some internal guid or something as opposed to when someone tries to generate dynamic page items of their own from a pl/sql procedure it's like the application doesn't even know they exist.
    Any help would be GREATLY appreciated.
    My only other solution would be to create a totally separate page (one for admin and another for non-admin). I would really like to avoid this.
    Thanks in advance.

    I would love to be able to generate my menus and
    various other items in my htmlDB applications in much
    the same way I can using ASP, PHP and Cold Fusion.
    Users should have the ability to write server-side
    code wherever they feel like it. The way htmlDB works
    right now I spend more time trying to figure out how
    to create simple effects and generate simple
    interfaces when I need to be building a portal. Ami - it's important to understand that HTML DB is not like other languages. Thus, trying to force concepts which are common in other languages into HTML DB will often result in more work.
    It's definitely worth the time to go over the HTML DB 2-day Developer, which can be found here: http://www.oracle.com/technology/products/database/htmldb/pdf/B14377_01.pdf
    I can build a portal using Classic ASP, C#, PHP or Cold
    Fusion in like 1/10 of the time that it takes me to
    build one using htmlDB. I understand that this is not
    meant for the hard-core programmer but no web
    programming application in today's day and age should
    prevent experts from getting under the hood.And I can build a Portal in HTML DB in 1/10 the time it will take me to do it in any other language. It's like anything else - proficiency comes with practice and work.
    As for getting under the hood, there is plenty of places you can do that with HTML DB. Keep in mind that HTML DB itself is an HTML DB application, so the limits on what you can build with HTML DB are virtually limitless.
    Sorry for the vent there. After spending the last 2
    days trying to figure out how to implement such a
    straightforward thing and now being informed that it
    can't be done kind of bugged me.I understand your frustration, as I've been there before. My rule for beginners is that if you are writing more than a line or two of code in the first week, you're doing something wrong. Stop, take a break, and then use the ample resources (including searching this forum) to help solve your problem. There are plenty of resources available for you to learn about HTML DB on the HTML DB home page: http://otn.oracle.com/htmldb
    Good luck,
    - Scott -

  • Creating Error message during creation of SC using create limit item option

    Hi,
    I am using option "create limit item" option to create a service SC, now i need to set an Error message if the value in the "value limit" field is lower than the value in the "expected value" field during the creation of sc and i should not be able to order such cart. Currently there is no message displayed and i can create a SC with the lower value in the value limit field.
    Please suggest.
    Regards
    GGL

    Hi. Try BBP_DOC_CHECK_BADI to issue a custom error.
    Regards,
    Dave.

  • Addition of new field in the "Create limit item" shopping cart

    Hello Gurus,
    I have a request in my project to add the company code field to the basic data for the  "create limit item" shopping cart.
    Thanks

    Hi Kedar
      Here are the steps....
    1. Create a Custom field in SRM and append it to SC table structures in SRM
    2. Add this field to the Custom field config for meta data at Item level in IMG>SRM Server> Cross application basic settings> Extensionsand and field control> Configure field control --> Configure control of fields at item level
    3. THen find the respective web dynpro application and component for the shopping cart portal UI screen where you want the field to appear. You can do this by right click on the screen area and then select More Field Help
    4. Go to SE 80 and enhance the respective webdynpro view by adding the custom field to the Context of the VIew and then adding it to the layout of the view at respective location. After doing this create a binding between the layout field and the context.....
    More information around ABAP UI Flexibility can be found at:
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
    Regards
    Virender Singh

  • Create document item from list, then no lookups

    SharePoint 2013: I have a content type set up in a document library with a default document template attached (in this case an excel workbook file).
    In SPD 2013 (using a 2010 workflow), I can use the "Create Item in List" function in SPD from an adjacent list on the same site collection to create a record in the document library, and set the content type such that when the workflow is done there
    is indeed a new document waiting for me in the doc library, utilizing the expected template file.
    The issue:
    The output of the "Create Item in List" function is the ID of the item created.  Using the Create variable, I believe I should be able to immediately lookup attributes of the newly created Document item, such as the last modified date and URLs.
     I'm doing the lookups within the output of a Log (to workflow history) function.  However, certain fields always come back blank.  Performing the same lookup, using a known Document item ID (created in another w/f session) is successful.  It
    would be nice to email out a URL of the file I just created from the same workflow.
    I've tried having the W/F wait up to 5 minutes, but it appears that certain attributes cannot ever be retrieved in the same workflow, while others can indeed be retrieved (GUID of the new doc is successful, for instance).
    I've read some online debate related to this, but I can't find anyone having the exact same issue as me, nor explain why it's happening.  It seems like it should be so straightforward.  Any ideas?  Thanks!

    Hi,
    According to your description, my understanding is that you create a document library item using “Create item in list ” action and when you log some certain attributes of the item to workflow history list, then
    it has no value.
    I try to reproduce this issue with your steps and it works as expected in my environment.
    For a better troubleshooting, I suggest you do as the followings:
    1. Check if the certain new created item field has value in the list which always return blank.
    2. I suggest you can create a new simple workflow to log the field data for new created item to workflow history list to test if it works.
    3. If the issue still exists, I suggest you can track the workflow using Fiddler. You can see detailed web request for the workflow, it will be easier to find the cause of this issue.
    Here is a detailed article for your reference:
    http://msdn.microsoft.com/en-us/library/office/dn508412(v=office.15).aspx
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Show Purchasing group Field in UI for Create Limit Item

    Hello All,
                  Do you if there is a way without modifying the templates to show Purchasing Group in UI for Create Limit Items in SRM 4.0 ( Classic Scenario)?
    -thanks in advance
    Shilpa

    Hi
    <b>Yes. Without modifying the HTML Templates of the Internet Service - BBPSC01,
    This is possible by adding a custom field at the Shopping cart item level in the structure. There is no such limitation on the number of customer fields added.</b>
    <u>Refer to the following SAP OSS notes</u>
    <b>Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2</b>
    Refer this link for details ->
    <b>Add custom field in SC -Item Level
    Which SRM version are you using ? What's your Business requirement ?
    <u>Incase you want to transfer some data from catalog to Shopping cart.. you can get this done by using BADI.
    Try <b>BBP_DOC_CHANGE_BADI
    BBP_DOC_CHECK_BADI</b>
    using SE18 Transaction.</u>
    Do let me know.
    Regards
    - Atul

  • While creating master item, can I add a check to copy from template

    Hi,
    While creating master items, can I add a check on copy template on the item to ensure item is created using some template?
    This will ensure many attributes gets proper value. If template is not copied, in later phases user faces problem with few attributes not being set.

    Regarding the final PDF you produce with the Print button; when the user hits the Print button the usual printer dialogue box is launched and s/he can select which pages he wants to print and the number of copies. I think this is what you said this is what your customer wants.
    Note: when you add the Print button, within the Acrobat Forms facility, you then go to Button Properties dialogue box and select  Actions, select the trigger (i.e. On Mouse Down); Add an Execute a menu Item, click on Add and select File > Print from the drop-down list. A bit complicated to explain here, but easier enough if you have a play around with it. Acrobat Forms are a wonderful facility – well worth exploring the many things you can do with them. Especially if you set up your document first in InDesign!
    Derek

Maybe you are looking for

  • When i plug in my ipod, itunes crashes.

    when i plug in my ipod it comes up with the message 'itunes has stopped working' and then the programme stops working and crashes. it also wiped my ipod. i have tried the online repair kit and uninstalling and re-installing itunes but it didnt change

  • Multiple Mapping in XI 3.0

    Hi All, Any body tell that "HOW TO CREATE MULTIPLE MAPPINGS IN USING XI3.0" If you have any step by step procedure please provide me. Thanks & Regards Venkata

  • Applying Path on Oracle 9i (9.2.0.4.0)

    Hi all, I am planning to apply a upgrade path on my current Oracle Database server. I have not done this activity in past so I need to know some things before I start off. Issue 1 Does the patch applucation is self-explanatory? i.e. Does it have the

  • Using WLS 6.1 and WLCS 3.5

    We are looking to migrate a WLS 5.1 Sp8 and WLCS 3.2 environment to a later release. We are only using the Personalization components of WLCS. Has anyone used the combination of WLS6.1 and WLCS 3.5, yet? What sort of problems are you seeing? What sor

  • Playlist organizing for Movies

    I've created new folders and added playlists within the folders labeled as such: Drama, Children's Classics, Horror, Adventure... etc (Genre stuff) I've placed my home brew movies in corresponding genre playlists. But Apple TV says that I can not hva