Ejemplo n.º 1
0
 def fields(self):
     """Specifies the collection of all the fields (2) in the site (2)."""
     if self.is_property_available('Fields'):
         return self.properties['Fields']
     else:
         return FieldCollection(self.context,
                                ResourcePath("Fields", self.resource_path))
 def fields(self):
     """Gets a value that specifies the collection of fields for the content type."""
     if self.is_property_available('Fields'):
         return self.properties['Fields']
     else:
         return FieldCollection(self.context,
                                ResourcePath("Fields", self.resource_path))
Ejemplo n.º 3
0
 def fields(self):
     """Gets the collection of fields that are used in the list that contains the item version."""
     from office365.sharepoint.fields.field_collection import FieldCollection
     return self.properties.get(
         "Fields",
         FieldCollection(self.context,
                         ResourcePath("Fields", self.resource_path)))
Ejemplo n.º 4
0
 def available_fields(self):
     return self.properties.get('AvailableFields',
                                FieldCollection(self.context,
                                                ResourcePath("AvailableFields", self.resource_path)))
Ejemplo n.º 5
0
 def fields(self):
     """Specifies the collection of all the fields (2) in the site (2)."""
     return self.properties.get('Fields',
                                FieldCollection(self.context, ResourcePath("Fields", self.resource_path)))
Ejemplo n.º 6
0
 def fields(self):
     """Gets a value that specifies the collection of all fields in the list."""
     return self.properties.get(
         'Fields',
         FieldCollection(self.context,
                         ResourcePath("Fields", self.resource_path), self))
 def fields(self):
     """Gets a value that specifies the collection of fields for the content type."""
     return self.properties.get(
         'Fields',
         FieldCollection(self.context,
                         ResourcePath("Fields", self.resource_path)))