Skip to main content

Upon save received error message:

Unable to complete action

There is an error parsing Preferences.tps. This can occur if quotation marks other than basic single quotes (') or double quotes (") are used around attribute names. Until this is corrected, Tableau Desktop will use the default color palettes.

The following 1 errors occurred while parsing Preference file"C:\Users\billi\Documents\My Tableau Repository\Preferences.tps":

Fatal Error(18,43): whitespace expected (id: C:\Users\billi\Documents\My Tableau Repository\Preferences.tps)

My Quotes are straight and not curly - and I've attempted with both single and double quotes with the same issues. I have done this successfully in the past with prior versions of Tableau.

 

<?xml version='1.0'?>

 

<workbook>

 

<preferences>

<color-palette name='My Red-Black Palette'type='regular'>

<color>#FF0000</color>

<color>#330000</color>

</preferences>

 

</workbook>

2 respostas
  1. 25 de ago. de 2021, 12:32

    @Billie Boles​ 

    Hi, I think you are missing:

    a. A space between Palette' and type

    b. a </color-palette> at the end of the colors.

    <?xml version='1.0'?>

    <workbook>

    <preferences>

    <color-palette name='My Red-Black Palette' type='regular'>

    <color>#FF0000</color>

    <color>#330000</color>

    </color-palette>

    </preferences>

    </workbook>

    If this post resolves. would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.

     

    Regards,

     

    Diego

0/9000