Skip to content

Add multiple fields at once for an update #12

@hazeliscoding

Description

@hazeliscoding

Problem:

// In this example, I am trying to clear out many fields in Quickbase
int[] fieldIds = { 89, 92, 95, 103, 106, 109, 331, 334, 358 };
var fieldsDictionary = fieldIds .ToDictionary(field => field.ToString(), field => new FieldValue { Value = "" });       

Solution:

var update = new QuickbaseCommandBuilder()
    .ForTable("")
    .UpdateRecord(recordId, record => record
        .AddFields(fieldsDictionary)) // Need a way to pass it like this
    .BuildInsertUpdateCommand();

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions