Skip to main content
Betsey York 님이 #FFFFFF에 질문했습니다

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\byork\OneDrive - State of Oklahoma\Documents\My Tableau Repository\Preferences.tps":

Fatal Error(14,3): expected end of tag 'preferences' (id: C:\Users\byork\OneDrive - State of Oklahoma\Documents\My Tableau Repository\Preferences.tps)

 

This is the code that I have in my preferences.tps file:

 

<?xml version='1.0'?>

 

<workbook>

<preferences>

 

<color-palette name='ODWC Brand' type='regular'>

<color>⌗EAAB4E</color>

<color>⌗482911</color>

<color>⌗E45B39</color>

<color>⌗FFFFFF</color>

<color>⌗757A4D</color>

<color>⌗003868</color>

<color>⌗000000</color>

<color>⌗8C9297</color>

</color-palette>

 

</preference>

</workbook>

답변 3개
  1. 2022년 4월 1일 오후 1:53

    Strike that--I see the problem. The closing tag for "preference" should actually be "preferences" (plural).

     

    <?xml version='1.0'?>

     

    <workbook>

    <preferences>

     

    <color-palette name='ODWC Brand' type='regular'>

    <color>⌗EAAB4E</color>

    <color>⌗482911</color>

    <color>⌗E45B39</color>

    <color>⌗FFFFFF</color>

    <color>⌗757A4D</color>

    <color>⌗003868</color>

    <color>⌗000000</color>

    <color>⌗8C9297</color>

    </color-palette>

     

    </preferences>

    </workbook>

0/9000