Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warehouse name is shown by default if it is available. To hide warehouse name, use css rules.

Availability text and icon is controlled by the AvailabilitySettings tag.

Code Block
languagexml
<AvailabilitySettings>
	<AvailabilityLevelSettings>
		// Use this setting if part’s availability should determine icon   
		<PartQuantity>0</PartQuantity>
		// Use this setting if part’s level setting should determine icon   
		<LevelValue>0</LevelValue>
		// Ensure to add this for the first level   
		<LevelType>NotAvailable</LevelType>
		// Key text to use   
		<KeyText>NotAvailable</KeyText>
		// Icon may be ok (a check mark) or remove (an X)   
		<IconName>remove</IconName>
	</AvailabilityLevelSettings>
	<AvailabilityLevelSettings>
		<LevelValue>0</LevelValue>
		<LevelType>NotAvailable</LevelType>
		<KeyText>NoneAvailable</KeyText>
		<IconName>remove</IconName>
	</AvailabilityLevelSettings>
	<AvailabilityLevelSettings>
		<PartQuantity>1</PartQuantity>
		<LevelValue>1</LevelValue>
		<LevelType>Available</LevelType>
		<KeyText>Available</KeyText>
		<IconName>ok</IconName>
	</AvailabilityLevelSettings>
</AvailabilitySettings>

Version 5.1 and later

TBP

 

...