Forum Replies Created

  • Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    No suggestion?

    I’m stucking because my array of data won’t be processed further if there is e.g. a ‘duplicate entry xyz for primary key’ error.

     

     

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Chris,

    that’s a possiblity if  I have an output parameter and if I want to know if there is a result.

    But how do I get the origingal sql error message (e.g. ‘timeout error’, ‘duplicate entry for’, ‘Can’t connect to database’, etc.) from the red rectangle.

    I

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    But what about  if insert statement runs into problems and returns following error message (in connector test dialog):

    “message”: “Duplicate entry ‘1-1-DE’ for key ‘PRIMARY’”,
    “success”: false

     

    I’ve tried to get it with a try-catch-block in business object but that did not work.

    Also output parameters in connector isn’t working for that database errors.

     

    How do I get access to the error message so I can react in bussiness object on it?

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    corrected row is updated now with attribute.name.

    But not I have unfortunately another issue. How is corresponding table.items-property updated with key (id).

    e.g. input field is now set to (‘System name’) but property ‘items’ of table (e.g. system_collection) has to be set to corresponding id.

    How do I manage this after confirmation of value help?

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    so could it be installed to my dev instance?

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    1
    Down
    ::

    is hotfix 188 already available?

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    Server-Side.

    Would it be possible to add external js library lodash? What would be the coding for inluding it? addScript(‘fabric.js’, ‘fabric’); where do I get zip file?

    String.protoype.substr(i,j) -> I get error message ” “Unexpected exception: TypeError: Cannot read property \”prototype\” from undefined”,”

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    Did not work. When I change property ‘type’ of widget ‘Input’ to ‘number’ I can’t see my ‘integer domain’ in value validationi dialogue.

    Behaviour is same as type would be ‘text’.

     

    Ok, solved.

    I’ve to create my domain of same base type as widget shows when clicking on value Validation (range slider -> base type float, Input -> base type string, etc.).

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    the “2” above domain type is only be shown because I switched my domain type from integer to string.

    There was only one (other) domain type when my newly created was with base type integer.

    How can I change selected data type in header from above picture from ‘string’ to ‘integer’?

     

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    Moment.js did it. Thx 🙂

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    I need it for my own application log.

    That means I have to read info log after execution of sql statement?

    But how do I get the right corresponding one?

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    1
    Down
    ::

    Simplifier: String

    SQL: VARCHAR(16)

    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    Yes, thinking about it yesterday I thought the same. I get following Output (not directly from a sql query but build up from script logic on my own based on a sql query. I think it’s correct.

     

    {
    “user_masterdata_vh”: [
    “{\”username\”:1, \”first_name\”:xxxx, \”last_name\”:xxxx, \”department\”:xxxx, \”email\”:xxxx}”,
    “{\”username\”:2, \”first_name\”:xxxx, \”last_name\”:xxxx, \”department\”:xxxx, \”email\”:xxxx}”
    ]
    }

    in reply to: Escape of quotes
    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    see attached the story detail.

    Attachments:
    You must be logged in to view attached files.
    Klaus79
    Participant
    • Topics: 38
    • Replies: 46
    # 2 years ago
    Up
    0
    Down
    ::

    What does that error message mean?

    I’ve mapped an integer field from an structure (global variable) to another int field from another global structure.

Viewing 15 posts - 31 through 45 (of 46 total)